Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix: unitId type error in handle editor invisible (#2907)
lumix5e09017670dc
diff --git a/packages/sheets-ui/src/controllers/editor/editing.render-controller.ts b/packages/sheets-ui/src/controllers/editor/editing.render-controller.tsindex d6902cb666..a6bd8aaaf2 100644--- a/packages/sheets-ui/src/controllers/editor/editing.render-controller.ts+++ b/packages/sheets-ui/src/controllers/editor/editing.render-controller.ts@@ -827,7 +827,7 @@ export class EditingRenderController extends Disposable implements IRenderModuleconst selections = this._workbookSelections.getCurrentSelections();if (selections) {this._commandService.syncExecuteCommand(SetSelectionsOperation.id, {- unitId: this._context.unit,+ unitId: this._context.unit.getUnitId(),subUnitId: worksheetId,selections,});