@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.
このガイドはいかがですか?