[{"data":1,"prerenderedAt":375},["ShallowReactive",2],{"quirekit-doc:\u002Fplugins\u002Freference\u002Fword-note":3},{"id":4,"title":5,"body":6,"description":12,"extension":362,"keywords":363,"locale":366,"meta":367,"navigation":368,"order":369,"path":370,"section":371,"seo":372,"stem":373,"__hash__":374},"docs\u002Fplugins\u002Freference\u002Fword-note.zh-CN.md","WordNote · 脚注与尾注",{"type":7,"value":8,"toc":346},"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,216,219,223,228,232,235,239,244,248,251,255,260,263,270,308,316,319,330,342],[10,11,12],"p",{},"拥有注释引用、辅助正文和编号等完整生命周期。删除引用、复制与导出均应保留引用和正文对应关系。",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-note"," · ",[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],{},"此入口依赖 Word 分页、分节或辅助正文布局；当前 Block 连续流未提供该产品能力。",[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 { WordNote } from '@quirekit\u002Fclassic-note'\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"," { WordNote } ",[121,134,135],{"class":127},"from",[121,137,139],{"class":138},"s-HEn"," '@quirekit\u002Fclassic-note'\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},"WordNote",[25,167,168],{"id":168},"配置",[10,170,171,172,147],{},"下面是扩展自身的默认选项。预设可以覆盖这些值；它们不等于当前文档属性。配置方法见",[68,173,175],{"href":174},"\u002Fplugins\u002Fconfiguration","配置插件",[177,178,180],"h3",{"id":179},"referencenodename","referenceNodeName",[10,182,183],{},"脚注或尾注引用节点名称。",[10,185,186,187],{},"类型：",[16,188,189],{},"string",[10,191,192,193],{},"默认：",[16,194,195],{},"WordNoteReference.name",[177,197,199],{"id":198},"storynodename","storyNodeName",[10,201,202],{},"辅助正文的节点名称。",[10,204,186,205],{},[16,206,189],{},[10,208,192,209],{},[16,210,211],{},"\"wordStory\"",[177,213,215],{"id":214},"storystorenodename","storyStoreNodeName",[10,217,218],{},"辅助正文容器的节点名称。",[10,220,186,221],{},[16,222,189],{},[10,224,192,225],{},[16,226,227],{},"\"wordStoryStore\"",[177,229,231],{"id":230},"paragraphnodename","paragraphNodeName",[10,233,234],{},"注释正文等能力使用的段落节点名称。",[10,236,186,237],{},[16,238,189],{},[10,240,192,241],{},[16,242,243],{},"\"paragraph\"",[177,245,247],{"id":246},"sectionnodename","sectionNodeName",[10,249,250],{},"当前 schema 中的节节点名称。",[10,252,186,253],{},[16,254,189],{},[10,256,192,257],{},[16,258,259],{},"\"wordSection\"",[25,261,262],{"id":262},"命令与运行方式",[10,264,265,266,269],{},"以下命令由此扩展直接提供，均在当前 Editor 上调用。命令是否可用由已安装 schema、当前选区与保护策略决定；可以先用 ",[16,267,268],{},"editor.can()"," 查询。",[35,271,272,282],{},[38,273,274],{},[41,275,276,279],{},[44,277,278],{},"命令",[44,280,281],{},"参数签名",[54,283,284,296],{},[41,285,286,291],{},[59,287,288],{},[16,289,290],{},"insertWordNote",[59,292,293],{},[16,294,295],{},"insertWordNote(options: InsertWordNotePayload)",[41,297,298,303],{},[59,299,300],{},[16,301,302],{},"removeWordNote",[59,304,305],{},[16,306,307],{},"removeWordNote(options: RemoveWordNotePayload)",[10,309,310,311,315],{},"这里只展示参数签名。接界面时见",[68,312,314],{"href":313},"\u002Fbuild\u002Fcommands","命令与控件","，正文变更继续经过同一事务与历史。",[25,317,318],{"id":318},"下一步",[10,320,321,322,326,327,329],{},"返回",[68,323,325],{"href":324},"\u002Fplugins","全部插件","，或阅读",[68,328,175],{"href":174},"区分配置、文档属性与命令。",[10,331,332,333,337,338,147],{},"自己定义能力时见",[68,334,336],{"href":335},"\u002Fbuild\u002Fextension","扩展开发","；搭建完整宿主时见",[68,339,341],{"href":340},"\u002Fbuild","构建产品",[343,344,345],"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":347,"depth":347,"links":348},2,[349,350,351,352,360,361],{"id":27,"depth":347,"text":27},{"id":94,"depth":347,"text":94},{"id":150,"depth":347,"text":150},{"id":168,"depth":347,"text":168,"children":353},[354,356,357,358,359],{"id":179,"depth":355,"text":180},3,{"id":198,"depth":355,"text":199},{"id":214,"depth":355,"text":215},{"id":230,"depth":355,"text":231},{"id":246,"depth":355,"text":247},{"id":262,"depth":347,"text":262},{"id":318,"depth":347,"text":318},"md",[165,18,364,365,180,199,215,231,247,290,302,165],"脚注与尾注","word","zh-CN",{"navigationTitle":165,"license":23},true,167,"\u002Fplugins\u002Freference\u002Fword-note","Word 文档扩展",{"title":5,"description":12},"plugins\u002Freference\u002Fword-note.zh-CN","Y52nlKYc9yaYhzdd6xMkKJg_E1WE_L5eS9TJVw3sYVY",1793045215796]