@univerjs-pro/edit-history-ui
이 API 페이지의 본문은 현재 영어로 제공됩니다. 코드 시그니처와 식별자는 언어에 따라 바뀌지 않습니다.
Shared version-history viewer workflow for Web SDK products.
TypeScript
import { UniverEditHistoryUIPlugin } from '@univerjs-pro/edit-history-ui'import enUS from '@univerjs-pro/edit-history-ui/locale/en-US'import '@univerjs-pro/edit-history-ui/lib/index.css'univer.registerPlugin(UniverEditHistoryUIPlugin)Product UI packages configure this shared viewer. Direct integrations can provide viewerMode, a history-session descriptor, canRestore, onClose, and onRestore.
Entry Points
- Locale:
@univerjs-pro/edit-history-ui/locale/* - Styles:
@univerjs-pro/edit-history-ui/lib/index.css
이 가이드는 어떠셨나요?