Référence de l’API

@univerjs-pro/edit-history-ui

Cette page API est actuellement disponible en anglais. Les signatures et identifiants restent identiques dans toutes les langues.

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

Que pensez-vous de ce guide ?

© 2026 DreamNum Co., Ltd.