@univerjs-pro/sheets-history-ui
Sheets ribbon, desktop/mobile viewer, and server integration for Web SDK version history.
TypeScript
import { UniverSheetsHistoryUIPlugin } from '@univerjs-pro/sheets-history-ui'import enUS from '@univerjs-pro/sheets-history-ui/locale/en-US'import '@univerjs-pro/sheets-history-ui/lib/index.css'univer.registerPlugin(UniverSheetsHistoryUIPlugin, { historyServerUrl: '/universer-api/history', univerContainerId: 'univer-container',})Use workerURL when history calculation needs a Web Worker. The package also exports ToggleEditHistoryOperation, SHEETS_HISTORY_UI_PLUGIN_CONFIG_KEY, and UniverSheetsHistoryMobileUIPlugin.
Entry Points
- Locale:
@univerjs-pro/sheets-history-ui/locale/* - Styles:
@univerjs-pro/sheets-history-ui/lib/index.css
How is this guide?