@univerjs/preset-docs-thread-comment
Esta página de API está disponible actualmente en inglés. Las firmas y los identificadores no cambian con el idioma.
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.
¿Cómo es esta guía?