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(shape): skip popup menu for sheet shapes (#6998)
Univerec5f9856d154
diff --git a/packages/sheets-drawing-ui/src/menu/drawing-popup-menu.controller.ts b/packages/sheets-drawing-ui/src/menu/drawing-popup-menu.controller.tsindex c4b3ec136a..8fd191063e 100644--- a/packages/sheets-drawing-ui/src/menu/drawing-popup-menu.controller.ts+++ b/packages/sheets-drawing-ui/src/menu/drawing-popup-menu.controller.ts@@ -139,7 +139,7 @@ export class DrawingPopupMenuController extends RxDisposable {const oKey = object.oKey;const drawingParam = this._drawingManagerService.getDrawingOKey(oKey);- if (!drawingParam) {+ if (!drawingParam || drawingParam.drawingType === DrawingTypeEnum.DRAWING_SHAPE) {return;}