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: image menu show on insert position (#2640)

siam2f11c2e5c099
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 49ceae5c0f..b544d28b93 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],
+ positions: [MenuPosition.TOOLBAR_START, MenuPosition.TOOLBAR_INSERT],
group: MenuGroup.TOOLBAR_FORMULAS_INSERT,
icon: IMAGE_UPLOAD_ICON,
tooltip: 'sheetImage.title',