[{"data":1,"prerenderedAt":448},["ShallowReactive",2],{"quirekit-doc:\u002Fplugins\u002Freference\u002Fclassic-word-comment":3},{"id":4,"title":5,"body":6,"description":12,"extension":435,"keywords":436,"locale":439,"meta":440,"navigation":441,"order":442,"path":443,"section":444,"seo":445,"stem":446,"__hash__":447},"docs\u002Fplugins\u002Freference\u002Fclassic-word-comment.zh-CN.md","ClassicWordComment · Pro 批注与审阅界面",{"type":7,"value":8,"toc":420},"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,218,223,228,232,235,240,245,248,255,377,385,388,399,416],[10,11,12],"p",{},"为规范批注提供审阅功能区与线程侧栏。reviewerIdentityProvider 由宿主提供新批注和回复的身份，权限仍需重新检查。",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-pro"," · ",[21,22,23],"strong",{},"Commercial",[25,26,27],"h2",{"id":27},"编辑器适用范围",[10,29,30,31],{},"层次：",[21,32,33],{},"Classic 产品适配",[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-pro-preset","createClassicWordProPreset"," — 使用 createClassicWordProPreset 安装专业产品能力；审阅界面还受 review 特性控制。不要再追加同名社区或专业扩展。",[41,74,75,78,81],{},[59,76,77],{},"Block",[59,79,80],{},"未支持",[59,82,83],{},"Block 不消费 Classic 产品 contribution、plugins 或分页装配。请使用共享能力和 Block 适配入口，不能直接复制此入口的 Classic 配置。",[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],{},"先使用 ",[68,108,109],{"href":70},"Word 专业预设","。这里的单项适配器用于自定义预设或替换子项；不能向已有装配再追加同名扩展。",[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 { ClassicWordComment } from '@quirekit\u002Fclassic-pro'\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"," { ClassicWordComment } ",[121,134,135],{"class":127},"from",[121,137,139],{"class":138},"s-HEn"," '@quirekit\u002Fclassic-pro'\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},"ClassicWordComment",[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",[177,213,214],{"id":214},"ribbon",[10,216,217],{},"是否向 Classic 功能区贡献控件。直接使用适配器与由预设装配时的值可能不同。",[10,219,186,220],{},[16,221,222],{},"boolean",[10,224,192,225],{},[16,226,227],{},"false",[177,229,231],{"id":230},"revieweridentityprovider","reviewerIdentityProvider",[10,233,234],{},"创建批注、回复或修订时向宿主读取作者身份，不能把显示名称当作权限凭证。",[10,236,186,237],{},[16,238,239],{},"ClassicWordReviewerIdentityProvider | null",[10,241,192,242],{},[16,243,244],{},"null",[25,246,247],{"id":247},"命令与运行方式",[10,249,250,251,254],{},"以下命令由此扩展直接提供，均在当前 Editor 上调用。命令是否可用由已安装 schema、当前选区与保护策略决定；可以先用 ",[16,252,253],{},"editor.can()"," 查询。",[35,256,257,267],{},[38,258,259],{},[41,260,261,264],{},[44,262,263],{},"命令",[44,265,266],{},"参数签名",[54,268,269,281,293,305,317,329,341,353,365],{},[41,270,271,276],{},[59,272,273],{},[16,274,275],{},"addWordComment",[59,277,278],{},[16,279,280],{},"addWordComment(options: WordCommentAuthorInput)",[41,282,283,288],{},[59,284,285],{},[16,286,287],{},"replyToWordComment",[59,289,290],{},[16,291,292],{},"replyToWordComment(options: ReplyToWordCommentOptions)",[41,294,295,300],{},[59,296,297],{},[16,298,299],{},"updateWordCommentMessage",[59,301,302],{},[16,303,304],{},"updateWordCommentMessage(options: UpdateWordCommentMessageOptions)",[41,306,307,312],{},[59,308,309],{},[16,310,311],{},"setWordCommentResolved",[59,313,314],{},[16,315,316],{},"setWordCommentResolved(options: SetWordCommentResolvedOptions)",[41,318,319,324],{},[59,320,321],{},[16,322,323],{},"removeWordComment",[59,325,326],{},[16,327,328],{},"removeWordComment(options: WordCommentThreadOptions)",[41,330,331,336],{},[59,332,333],{},[16,334,335],{},"goToWordComment",[59,337,338],{},[16,339,340],{},"goToWordComment(options: WordCommentThreadOptions)",[41,342,343,348],{},[59,344,345],{},[16,346,347],{},"goToNextWordComment",[59,349,350],{},[16,351,352],{},"goToNextWordComment()",[41,354,355,360],{},[59,356,357],{},[16,358,359],{},"goToPreviousWordComment",[59,361,362],{},[16,363,364],{},"goToPreviousWordComment()",[41,366,367,372],{},[59,368,369],{},[16,370,371],{},"setWordCommentHoveredThreadId",[59,373,374],{},[16,375,376],{},"setWordCommentHoveredThreadId(threadId: string | null)",[10,378,379,380,384],{},"这里只展示参数签名。接界面时见",[68,381,383],{"href":382},"\u002Fbuild\u002Fcommands","命令与控件","，正文变更继续经过同一事务与历史。",[25,386,387],{"id":387},"下一步",[10,389,390,391,395,396,398],{},"返回",[68,392,394],{"href":393},"\u002Fplugins","全部插件","，或阅读",[68,397,175],{"href":174},"区分配置、文档属性与命令。",[10,400,401,402,406,407,411,412,147],{},"继续",[68,403,405],{"href":404},"\u002Fclassic\u002Fquick-start","Classic 快速接入","和",[68,408,410],{"href":409},"\u002Fclassic\u002Fconfiguration","配置与生命周期","。开发自己的产品界面与服务时，见",[68,413,415],{"href":414},"\u002Fbuild\u002Fproduct-plugin","产品插件开发",[417,418,419],"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":421,"depth":421,"links":422},2,[423,424,425,426,433,434],{"id":27,"depth":421,"text":27},{"id":94,"depth":421,"text":94},{"id":150,"depth":421,"text":150},{"id":168,"depth":421,"text":168,"children":427},[428,430,431,432],{"id":179,"depth":429,"text":180},3,{"id":198,"depth":429,"text":199},{"id":214,"depth":429,"text":214},{"id":230,"depth":429,"text":231},{"id":247,"depth":421,"text":247},{"id":387,"depth":421,"text":387},"md",[165,18,437,438,180,199,214,231,275,287,299,311,323,335,347,359,371,165],"Pro 批注与审阅界面","classic","zh-CN",{"navigationTitle":165,"license":23},true,50,"\u002Fplugins\u002Freference\u002Fclassic-word-comment","Classic 产品扩展",{"title":5,"description":12},"plugins\u002Freference\u002Fclassic-word-comment.zh-CN","ngc6nWvpt7tFU6yGx4Ylp2-VVHwa3C3unsU9Jff-WFc",1793045221258]