@univerjs/preset-docs-thread-comment
此 API 頁面目前提供英文內容。程式碼簽名與識別符不隨介面語言變更。
TypeScript
import { UniverDocsThreadCommentPreset } from '@univerjs/preset-docs-thread-comment'createUniver({ presets: [ UniverDocsThreadCommentPreset(), ],})The preset registers UniverThreadCommentUIPlugin first and UniverDocsThreadCommentUIPlugin second. Their declared dependencies provide the shared comment model and the Docs text-range model, so the result supports document comments, decorations, menus, and the shared comment panel.
The preset currently has no configuration options. Collaboration persistence is configured separately with @univerjs-pro/thread-comment-datasource.
你覺得這篇文檔如何?