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.

chore: move debugger position

Wenzhao Hu56a27a7e4b04
diff --git a/packages/debugger/src/controllers/menu.schema.ts b/packages/debugger/src/controllers/menu.schema.ts
index f66934f759..cd087c4d35 100644
--- a/packages/debugger/src/controllers/menu.schema.ts
+++ b/packages/debugger/src/controllers/menu.schema.ts
@@ -88,6 +88,10 @@ export const menuSchema: MenuSchemaType = {
[SaveSnapshotOptions.id]: {
order: 8,
menuItemFactory: SaveSnapshotSetEditableMenuItemFactory,
+ [LoadSheetSnapshotCommand.id]: {
+ order: 3,
+ menuItemFactory: LoadSheetSnapshotMenuItemFactory,
+ },
},
[UNIT_ITEM_MENU_ID]: {
order: 9,
@@ -104,10 +108,6 @@ export const menuSchema: MenuSchemaType = {
order: 2,
menuItemFactory: CreateEmptySheetMenuItemFactory,
},
- [LoadSheetSnapshotCommand.id]: {
- order: 3,
- menuItemFactory: LoadSheetSnapshotMenuItemFactory,
- },
},
[FLOAT_DOM_ITEM_MENU_ID]: {
order: 10,