API 参考

@univerjs-pro/slides-history-ui

本 API 页面目前提供英文正文。代码签名与标识符不随界面语言变化。

Slides ribbon and viewer integration for Web SDK version history.

TypeScript
import { UniverSlidesHistoryUIPlugin } from '@univerjs-pro/slides-history-ui'import enUS from '@univerjs-pro/slides-history-ui/locale/en-US'univer.registerPlugin(UniverSlidesHistoryUIPlugin, {  historyServerUrl: '/universer-api/history',  univerContainerId: 'univer-container',})

viewerPlugins can add product-specific plugins to the isolated history viewer.

Entry Points

  • Locale: @univerjs-pro/slides-history-ui/locale/*

你觉得这篇文档如何?

© 2026 DreamNum Co., Ltd.