Skip to content

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.

fix: fix navigation controller not hooked

wzhudev8a782072d316
diff --git a/packages/ui-plugin-sheets/src/sheet-ui-plugin.ts b/packages/ui-plugin-sheets/src/sheet-ui-plugin.ts
index f90443fcf3..76ee4b6e29 100644
--- a/packages/ui-plugin-sheets/src/sheet-ui-plugin.ts
+++ b/packages/ui-plugin-sheets/src/sheet-ui-plugin.ts
@@ -11,6 +11,7 @@ import { InitializeEditorController } from './controller/editor/initialize-edito
import { StartEditController } from './controller/editor/start-edit.controller';
import { EditorBridgeController } from './controller/editor-bridge.controller';
import { FormatPainterController } from './controller/format-painter/format-painter.controller';
+import { SheetNavigationController } from './controller/navigation/navigation.controller';
import { SheetUIController } from './controller/sheet-ui.controller';
import { enUS } from './locale';
import { ISheetClipboardService, SheetClipboardService } from './services/clipboard/clipboard.service';
@@ -49,6 +50,7 @@ export class SheetUIPlugin extends Plugin {
[ICellEditorManagerService, { useClass: CellEditorManagerService }],
// controllers
+ [SheetNavigationController],
[EditorBridgeController],
[SheetClipboardController],
[SheetContextMenuController],