Справочник API

@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.

Насколько полезно это руководство?

© 2026 DreamNum Co., Ltd.