@univerjs-pro/bases-history-ui
本 API 页面目前提供英文正文。代码签名与标识符不随界面语言变化。
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
你觉得这篇文档如何?