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(sheets-ui): fix clear all tooltip (#5218)
Evan0a8961469448
diff --git a/packages/sheets-ui/src/controllers/menu/clear.menu.ts b/packages/sheets-ui/src/controllers/menu/clear.menu.tsindex 5bfea07958..8835a22f1c 100644--- a/packages/sheets-ui/src/controllers/menu/clear.menu.ts+++ b/packages/sheets-ui/src/controllers/menu/clear.menu.ts@@ -75,6 +75,7 @@ export function ClearSelectionAllMenuItemFactory(accessor: IAccessor): IMenuButttype: MenuItemType.BUTTON,icon: 'ClearFormat',title: 'rightClick.clearAll',+ tooltip: 'rightClick.clearAll',disabled$: getObservableWithExclusiveRange$(accessor, getCurrentRangeDisable$(accessor, {workbookTypes: [WorkbookEditablePermission],worksheetTypes: [WorksheetEditPermission, WorksheetSetCellValuePermission, WorksheetSetCellStylePermission],