[{"data":1,"prerenderedAt":405},["ShallowReactive",2],{"quirekit-doc:\u002Fplugins\u002Freference\u002Fword-block-content-control":3},{"id":4,"title":5,"body":6,"description":12,"extension":392,"keywords":393,"locale":396,"meta":397,"navigation":398,"order":399,"path":400,"section":401,"seo":402,"stem":403,"__hash__":404},"docs\u002Fplugins\u002Freference\u002Fword-block-content-control.zh-CN.md","WordBlockContentControl · 块级内容控件",{"type":7,"value":8,"toc":382},"minimark",[9,13,24,28,34,84,92,95,101,104,111,140,148,151,162,166,169,172,175,182,328,336,339,350,353,366,378],[10,11,12],"p",{},"保存包含块内容的结构化文档标签。内容、占位、锁定和绑定规则由内容控件领域管理。",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-content-control"," · ",[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 { WordBlockContentControl } from '@quirekit\u002Fclassic-content-control'\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"," { WordBlockContentControl } ",[121,134,135],{"class":127},"from",[121,137,139],{"class":138},"s-HEn"," '@quirekit\u002Fclassic-content-control'\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},"WordBlockContentControl",[25,167,168],{"id":168},"配置",[10,170,171],{},"此入口没有独立的配置字段。文档属性通过领域命令设置；产品预设可能继续装配其他可配置子扩展。",[25,173,174],{"id":174},"命令与运行方式",[10,176,177,178,181],{},"以下命令由此扩展直接提供，均在当前 Editor 上调用。命令是否可用由已安装 schema、当前选区与保护策略决定；可以先用 ",[16,179,180],{},"editor.can()"," 查询。",[35,183,184,194],{},[38,185,186],{},[41,187,188,191],{},[44,189,190],{},"命令",[44,192,193],{},"参数签名",[54,195,196,208,220,232,244,256,268,280,292,304,316],{},[41,197,198,203],{},[59,199,200],{},[16,201,202],{},"insertWordBlockContentControl",[59,204,205],{},[16,206,207],{},"insertWordBlockContentControl(options?: InsertWordBlockContentControlOptions | undefined)",[41,209,210,215],{},[59,211,212],{},[16,213,214],{},"updateWordBlockContentControl",[59,216,217],{},[16,218,219],{},"updateWordBlockContentControl(options: UpdateWordBlockContentControlOptions)",[41,221,222,227],{},[59,223,224],{},[16,225,226],{},"unwrapWordBlockContentControl",[59,228,229],{},[16,230,231],{},"unwrapWordBlockContentControl()",[41,233,234,239],{},[59,235,236],{},[16,237,238],{},"deleteWordBlockContentControl",[59,240,241],{},[16,242,243],{},"deleteWordBlockContentControl()",[41,245,246,251],{},[59,247,248],{},[16,249,250],{},"insertWordRepeatingSection",[59,252,253],{},[16,254,255],{},"insertWordRepeatingSection(options?: InsertWordRepeatingSectionOptions | undefined)",[41,257,258,263],{},[59,259,260],{},[16,261,262],{},"updateWordRepeatingSection",[59,264,265],{},[16,266,267],{},"updateWordRepeatingSection(options: UpdateWordRepeatingSectionOptions)",[41,269,270,275],{},[59,271,272],{},[16,273,274],{},"appendWordRepeatingSectionItem",[59,276,277],{},[16,278,279],{},"appendWordRepeatingSectionItem()",[41,281,282,287],{},[59,283,284],{},[16,285,286],{},"duplicateWordRepeatingSectionItem",[59,288,289],{},[16,290,291],{},"duplicateWordRepeatingSectionItem()",[41,293,294,299],{},[59,295,296],{},[16,297,298],{},"removeWordRepeatingSectionItem",[59,300,301],{},[16,302,303],{},"removeWordRepeatingSectionItem()",[41,305,306,311],{},[59,307,308],{},[16,309,310],{},"restoreWordBlockContentControlPlaceholder",[59,312,313],{},[16,314,315],{},"restoreWordBlockContentControlPlaceholder()",[41,317,318,323],{},[59,319,320],{},[16,321,322],{},"replaceWordBlockContentControlPlaceholderFromInput",[59,324,325],{},[16,326,327],{},"replaceWordBlockContentControlPlaceholderFromInput(input: ReplaceWordBlockContentControlPlaceholderInput)",[10,329,330,331,335],{},"这里只展示参数签名。接界面时见",[68,332,334],{"href":333},"\u002Fbuild\u002Fcommands","命令与控件","，正文变更继续经过同一事务与历史。",[25,337,338],{"id":338},"其他公开入口",[340,341,342],"ul",{},[343,344,345,19,347],"li",{},[16,346,165],{},[16,348,349],{},"@quirekit\u002Fclassic-docx",[25,351,352],{"id":352},"下一步",[10,354,355,356,360,361,365],{},"返回",[68,357,359],{"href":358},"\u002Fplugins","全部插件","，或阅读",[68,362,364],{"href":363},"\u002Fplugins\u002Fconfiguration","配置插件","区分配置、文档属性与命令。",[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,389,390,391],{"id":27,"depth":383,"text":27},{"id":94,"depth":383,"text":94},{"id":150,"depth":383,"text":150},{"id":168,"depth":383,"text":168},{"id":174,"depth":383,"text":174},{"id":338,"depth":383,"text":338},{"id":352,"depth":383,"text":352},"md",[165,18,394,395,202,214,226,238,250,262,274,286,298,310,322,165,165],"块级内容控件","word","zh-CN",{"navigationTitle":165,"license":23},true,145,"\u002Fplugins\u002Freference\u002Fword-block-content-control","Word 文档扩展",{"title":5,"description":12},"plugins\u002Freference\u002Fword-block-content-control.zh-CN","ucZUM_JLaiCh3xbVli7E9p971HQPBtFr-ebxscfK6O8",1793045214366]