@univerjs-pro/bases-history-ui
Bases ribbon and viewer integration for Web SDK version history.
TypeScript
import { UniverBasesHistoryUIPlugin } from '@univerjs-pro/bases-history-ui'import enUS from '@univerjs-pro/bases-history-ui/locale/en-US'import '@univerjs-pro/bases-history-ui/lib/index.css'univer.registerPlugin(UniverBasesHistoryUIPlugin, { historyServerUrl: '/universer-api/history', univerContainerId: 'univer-container',})viewerPlugins can add product-specific plugins to the isolated history viewer.
Entry Points
- Locale:
@univerjs-pro/bases-history-ui/locale/* - Styles:
@univerjs-pro/bases-history-ui/lib/index.css
How is this guide?