@univerjs-pro/docs-reference-ui
本 API 页面目前提供英文正文。代码签名与标识符不随界面语言变化。
References UI and note navigation for traditional paginated Docs documents. Requires UniverDocsReferencePlugin and UniverDocsUIPlugin.
TypeScript
import { UniverDocsReferenceUIPlugin } from '@univerjs-pro/docs-reference-ui'import ReferenceLocale from '@univerjs-pro/docs-reference-ui/locale/en-US'import { LocaleType } from '@univerjs/core'import '@univerjs-pro/docs-reference-ui/lib/index.css'univerAPI.loadLocales(LocaleType.EN_US, ReferenceLocale)univer.registerPlugin(UniverDocsReferenceUIPlugin)Load the locale matching your editor. See Footnotes and endnotes for the complete setup. UniverDocsAdvancedPreset already includes this plugin.
你觉得这篇文档如何?