[{"data":1,"prerenderedAt":408},["ShallowReactive",2],{"quirekit-doc:\u002Fplugins\u002Freference\u002Fword-comment":3},{"id":4,"title":5,"body":6,"description":12,"extension":395,"keywords":396,"locale":399,"meta":400,"navigation":401,"order":402,"path":403,"section":404,"seo":405,"stem":406,"__hash__":407},"docs\u002Fplugins\u002Freference\u002Fword-comment.zh-CN.md","WordComment · 批注文档能力",{"type":7,"value":8,"toc":382},"minimark",[9,13,24,28,34,84,92,95,101,104,111,140,148,151,162,166,169,176,181,184,190,196,200,203,207,212,215,222,344,352,355,366,378],[10,11,12],"p",{},"保存批注范围、线程和回复，并提供批注命令。批注面板与审阅界面由 Classic Pro 或宿主单独提供。",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-comment"," · ",[21,22,23],"strong",{},"Commercial",[25,26,27],"h2",{"id":27},"编辑器适用范围",[10,29,30,31],{},"层次：",[21,32,33],{},"共享文档能力",[35,36,37,53],"table",{},[38,39,40],"thead",{},[41,42,43,47,50],"tr",{},[44,45,46],"th",{},"编辑器",[44,48,49],{},"状态",[44,51,52],{},"所需装配与边界",[54,55,56,73],"tbody",{},[41,57,58,62,65],{},[59,60,61],"td",{},"Classic",[59,63,64],{},"直接支持",[59,66,67,72],{},[68,69,71],"a",{"href":70},"\u002Fplugins\u002Freference\u002Fcreate-classic-word-preset","createClassicWordPreset"," — 使用 createClassicWordPreset 装配 Word 模型、布局与产品适配；具体控件、开关、宿主服务及文件支持以本页说明为准。批注、修订和内容控件的完整创作界面另需 Pro。",[41,74,75,78,81],{},[59,76,77],{},"Block",[59,79,80],{},"未验证",[59,82,83],{},"尚未建立此入口的完整产品接入与验证路径。公开 Core 导出不代表当前产品已提供对应呈现、控件或文件支持。",[10,85,86,87,91],{},"“直接支持”指已有上述产品装配；具体交互、宿主服务和格式支持仍有各自条件。",[68,88,90],{"href":89},"\u002Fplugins\u002Fcompatibility","状态与接入规则","。许可独立显示。",[25,93,94],{"id":94},"接入",[10,96,97,98,100],{},"当前 ",[16,99,18],{}," 的包元数据标为 private。本站使用工作区源码；外部项目需先取得对应分发包，不能把下面的公开导出理解为已经能从公共 npm 安装。",[10,102,103],{},"此入口属于商业组件。使用前先取得相应分发与授权；安装命令仅适用于已配置该分发源的项目。",[10,105,106,107,110],{},"Word 产品通常从 ",[68,108,109],{"href":70},"Word 预设","开始。这里的公开符号用于独立 Core 或自定义预设；需按领域补齐配套节点、命令和布局，已有同名扩展时不能重复追加。",[112,113,118],"pre",{"className":114,"code":115,"language":116,"meta":117,"style":117},"language-ts shiki shiki-themes github-light github-light github-dark","import { WordComment } from '@quirekit\u002Fclassic-comment'\n","ts","",[16,119,120],{"__ignoreMap":117},[121,122,125,129,133,136],"span",{"class":123,"line":124},"line",1,[121,126,128],{"class":127},"sDD9d","import",[121,130,132],{"class":131},"sVPnS"," { WordComment } ",[121,134,135],{"class":127},"from",[121,137,139],{"class":138},"s-HEn"," '@quirekit\u002Fclassic-comment'\n",[10,141,142,143,147],{},"安装时按包声明选择兼容版本，外部可用版本以分发源为准。本站使用工作区 Alpha；许可标签来自入口所属包，使用条件见",[68,144,146],{"href":145},"\u002Fsupport","支持与许可","。",[25,149,150],{"id":150},"按编辑器接入",[10,152,153,154,157,158,161],{},"以下片段沿用已挂载的宿主元素 ",[16,155,156],{},"element","，宿主负责容器尺寸与保存；退出页面时调用 ",[16,159,160],{},"instance.destroy()","。已有预设装配的能力不要再重复追加；需要宿主端口的入口应先完成下方配置。",[163,164],"plugin-integration",{"name":165},"WordComment",[25,167,168],{"id":168},"配置",[10,170,171,172,147],{},"下面是扩展自身的默认选项。预设可以覆盖这些值；它们不等于当前文档属性。配置方法见",[68,173,175],{"href":174},"\u002Fplugins\u002Fconfiguration","配置插件",[177,178,180],"h3",{"id":179},"starttypename","startTypeName",[10,182,183],{},"范围起点节点名称；必须与实际安装的 schema 保持一致。",[10,185,186,187],{},"类型：",[16,188,189],{},"string",[10,191,192,193],{},"默认：",[16,194,195],{},"WordCommentStart.name",[177,197,199],{"id":198},"endtypename","endTypeName",[10,201,202],{},"范围终点节点名称；必须与实际安装的 schema 保持一致。",[10,204,186,205],{},[16,206,189],{},[10,208,192,209],{},[16,210,211],{},"WordCommentEnd.name",[25,213,214],{"id":214},"命令与运行方式",[10,216,217,218,221],{},"以下命令由此扩展直接提供，均在当前 Editor 上调用。命令是否可用由已安装 schema、当前选区与保护策略决定；可以先用 ",[16,219,220],{},"editor.can()"," 查询。",[35,223,224,234],{},[38,225,226],{},[41,227,228,231],{},[44,229,230],{},"命令",[44,232,233],{},"参数签名",[54,235,236,248,260,272,284,296,308,320,332],{},[41,237,238,243],{},[59,239,240],{},[16,241,242],{},"addWordComment",[59,244,245],{},[16,246,247],{},"addWordComment(options: WordCommentAuthorInput)",[41,249,250,255],{},[59,251,252],{},[16,253,254],{},"replyToWordComment",[59,256,257],{},[16,258,259],{},"replyToWordComment(options: ReplyToWordCommentOptions)",[41,261,262,267],{},[59,263,264],{},[16,265,266],{},"updateWordCommentMessage",[59,268,269],{},[16,270,271],{},"updateWordCommentMessage(options: UpdateWordCommentMessageOptions)",[41,273,274,279],{},[59,275,276],{},[16,277,278],{},"setWordCommentResolved",[59,280,281],{},[16,282,283],{},"setWordCommentResolved(options: SetWordCommentResolvedOptions)",[41,285,286,291],{},[59,287,288],{},[16,289,290],{},"removeWordComment",[59,292,293],{},[16,294,295],{},"removeWordComment(options: WordCommentThreadOptions)",[41,297,298,303],{},[59,299,300],{},[16,301,302],{},"goToWordComment",[59,304,305],{},[16,306,307],{},"goToWordComment(options: WordCommentThreadOptions)",[41,309,310,315],{},[59,311,312],{},[16,313,314],{},"goToNextWordComment",[59,316,317],{},[16,318,319],{},"goToNextWordComment()",[41,321,322,327],{},[59,323,324],{},[16,325,326],{},"goToPreviousWordComment",[59,328,329],{},[16,330,331],{},"goToPreviousWordComment()",[41,333,334,339],{},[59,335,336],{},[16,337,338],{},"setWordCommentHoveredThreadId",[59,340,341],{},[16,342,343],{},"setWordCommentHoveredThreadId(threadId: string | null)",[10,345,346,347,351],{},"这里只展示参数签名。接界面时见",[68,348,350],{"href":349},"\u002Fbuild\u002Fcommands","命令与控件","，正文变更继续经过同一事务与历史。",[25,353,354],{"id":354},"下一步",[10,356,357,358,362,363,365],{},"返回",[68,359,361],{"href":360},"\u002Fplugins","全部插件","，或阅读",[68,364,175],{"href":174},"区分配置、文档属性与命令。",[10,367,368,369,373,374,147],{},"自己定义能力时见",[68,370,372],{"href":371},"\u002Fbuild\u002Fextension","扩展开发","；搭建完整宿主时见",[68,375,377],{"href":376},"\u002Fbuild","构建产品",[379,380,381],"style",{},"html pre.shiki code .sDD9d, html code.shiki .sDD9d{--shiki-default:#D73A49;--shiki-light:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVPnS, html code.shiki .sVPnS{--shiki-default:#24292E;--shiki-light:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s-HEn, html code.shiki .s-HEn{--shiki-default:#032F62;--shiki-light:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":117,"searchDepth":383,"depth":383,"links":384},2,[385,386,387,388,393,394],{"id":27,"depth":383,"text":27},{"id":94,"depth":383,"text":94},{"id":150,"depth":383,"text":150},{"id":168,"depth":383,"text":168,"children":389},[390,392],{"id":179,"depth":391,"text":180},3,{"id":198,"depth":391,"text":199},{"id":214,"depth":383,"text":214},{"id":354,"depth":383,"text":354},"md",[165,18,397,398,180,199,242,254,266,278,290,302,314,326,338,165],"批注文档能力","word","zh-CN",{"navigationTitle":165,"license":23},true,152,"\u002Fplugins\u002Freference\u002Fword-comment","Word 文档扩展",{"title":5,"description":12},"plugins\u002Freference\u002Fword-comment.zh-CN","V0ZrvPBMmPanZHY2z-LuPLVC_5BbVS4mg1IMqLPZh7c",1793045214872]