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.

revert: "chore: image menu show on insert position" (#2714)

白熱2965f28ba729
diff --git a/packages/sheets-drawing-ui/src/views/menu/image.menu.ts b/packages/sheets-drawing-ui/src/views/menu/image.menu.ts
index b544d28b93..49ceae5c0f 100644
--- a/packages/sheets-drawing-ui/src/views/menu/image.menu.ts
+++ b/packages/sheets-drawing-ui/src/views/menu/image.menu.ts
@@ -29,7 +29,7 @@ export function ImageMenuFactory(accessor: IAccessor): IMenuItem {
return {
id: IMAGE_MENU_ID,
type: MenuItemType.SUBITEMS,
- positions: [MenuPosition.TOOLBAR_START, MenuPosition.TOOLBAR_INSERT],
+ positions: [MenuPosition.TOOLBAR_START],
group: MenuGroup.TOOLBAR_FORMULAS_INSERT,
icon: IMAGE_UPLOAD_ICON,
tooltip: 'sheetImage.title',