[{"data":1,"prerenderedAt":430},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fword-block-interaction":3},{"id":4,"title":5,"body":6,"description":12,"extension":417,"keywords":418,"locale":421,"meta":422,"navigation":423,"order":424,"path":425,"section":426,"seo":427,"stem":428,"__hash__":429},"docs\u002Fplugins\u002Freference\u002Fword-block-interaction.en.md","WordBlockInteraction",{"type":7,"value":8,"toc":401},"minimark",[9,13,24,29,35,85,93,97,103,106,113,142,150,154,157,160,164,170,174,177,183,186,238,241,244,248,254,258,261,266,271,274,277,282,287,291,294,299,304,308,311,361,369,373,384,397],[10,11,12],"p",{},"Adds Word-aware admission and integrity rules to generic structural block interaction.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-block-interaction"," · ",[21,22,23],"strong",{},"Commercial",[25,26,28],"h2",{"id":27},"editor-compatibility","Editor compatibility",[10,30,31,32],{},"Layer：",[21,33,34],{},"Shared document capability",[36,37,38,54],"table",{},[39,40,41],"thead",{},[42,43,44,48,51],"tr",{},[45,46,47],"th",{},"Editor",[45,49,50],{},"Status",[45,52,53],{},"Assembly and boundaries",[55,56,57,74],"tbody",{},[42,58,59,63,66],{},[60,61,62],"td",{},"Classic",[60,64,65],{},"Supported",[60,67,68,73],{},[69,70,72],"a",{"href":71},"\u002Fen\u002Fplugins\u002Freference\u002Fcreate-classic-word-preset","createClassicWordPreset"," — Use createClassicWordPreset for Word models, layout and product integration. Controls, flags, host services and file support follow this page. Full comment, revision and content-control authoring UI additionally requires Pro.",[42,75,76,79,82],{},[60,77,78],{},"Block",[60,80,81],{},"Unverified",[60,83,84],{},"A complete integration and verification path for this entry has not been established for this product. A public Core export does not imply product presentation, controls or file support.",[10,86,87,88,92],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[69,89,91],{"href":90},"\u002Fen\u002Fplugins\u002Fcompatibility","status and integration rules",". Licensing is shown separately.",[25,94,96],{"id":95},"installation","Installation",[10,98,99,100,102],{},"The current ",[16,101,18],{}," manifest is private. This site uses workspace source; external projects need the relevant distribution package rather than assuming public npm availability.",[10,104,105],{},"This entry is a commercial component. Obtain distribution access and authorization first; installation commands require that distribution source.",[10,107,108,109,112],{},"Start a Word product with the ",[69,110,111],{"href":71},"Word preset",". This export supports independent Core or custom presets; assemble companion nodes, commands and layout, without duplicate names.",[114,115,120],"pre",{"className":116,"code":117,"language":118,"meta":119,"style":119},"language-ts shiki shiki-themes github-light github-light github-dark","import { WordBlockInteraction } from '@quirekit\u002Fclassic-block-interaction'\n","ts","",[16,121,122],{"__ignoreMap":119},[123,124,127,131,135,138],"span",{"class":125,"line":126},"line",1,[123,128,130],{"class":129},"sDD9d","import",[123,132,134],{"class":133},"sVPnS"," { WordBlockInteraction } ",[123,136,137],{"class":129},"from",[123,139,141],{"class":140},"s-HEn"," '@quirekit\u002Fclassic-block-interaction'\n",[10,143,144,145,149],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[69,146,148],{"href":147},"\u002Fen\u002Fsupport","support and licensing",".",[25,151,153],{"id":152},"integration-by-editor","Integration by editor",[10,155,156],{},"These snippets use an existing host element named element. The host owns container sizing and persistence; call instance.destroy() on teardown. Avoid duplicating preset capabilities and supply required host ports before installation.",[158,159],"plugin-integration",{"name":5},[25,161,163],{"id":162},"configuration","Configuration",[10,165,166,167,149],{},"These are extension-level defaults. Presets can override them; they are distinct from current document attributes. See ",[69,168,162],{"href":169},"\u002Fen\u002Fplugins\u002Fconfiguration",[171,172,173],"h3",{"id":173},"types",[10,175,176],{},"Block types whose complete subtrees can be moved.",[10,178,179,180],{},"Type：",[16,181,182],{},"readonly string[]",[10,184,185],{},"Default：See default below",[114,187,189],{"className":116,"code":188,"language":118,"meta":119,"style":119},"[\"paragraph\", \"wordTable\", \"horizontalRule\", \"codeBlock\", \"blockquote\", \"bulletList\", \"orderedList\", \"wordBlockContentControl\"]\n",[16,190,191],{"__ignoreMap":119},[123,192,193,196,199,202,205,207,210,212,215,217,220,222,225,227,230,232,235],{"class":125,"line":126},[123,194,195],{"class":133},"[",[123,197,198],{"class":140},"\"paragraph\"",[123,200,201],{"class":133},", ",[123,203,204],{"class":140},"\"wordTable\"",[123,206,201],{"class":133},[123,208,209],{"class":140},"\"horizontalRule\"",[123,211,201],{"class":133},[123,213,214],{"class":140},"\"codeBlock\"",[123,216,201],{"class":133},[123,218,219],{"class":140},"\"blockquote\"",[123,221,201],{"class":133},[123,223,224],{"class":140},"\"bulletList\"",[123,226,201],{"class":133},[123,228,229],{"class":140},"\"orderedList\"",[123,231,201],{"class":133},[123,233,234],{"class":140},"\"wordBlockContentControl\"",[123,236,237],{"class":133},"]\n",[171,239,240],{"id":240},"scopes",[10,242,243],{},"Allowed direct parents; nested unlisted parents remain unavailable.",[10,245,179,246],{},[16,247,182],{},[10,249,250,251],{},"Default：",[16,252,253],{},"[\"wordSection\"]",[171,255,257],{"id":256},"createid","createId",[10,259,260],{},"Allocates an opaque identity for a newly created block.",[10,262,179,263],{},[16,264,265],{},"(): string",[10,267,250,268],{},[16,269,270],{},"createBlockId",[171,272,273],{"id":273},"admit",[10,275,276],{},"Live feature policy; null permits the candidate.",[10,278,179,279],{},[16,280,281],{},"(context: BlockAdmissionContext): BlockRejection | null",[10,283,250,284],{},[16,285,286],{},"admitWordBlockOperation",[171,288,290],{"id":289},"requireportableidentity","requirePortableIdentity",[10,292,293],{},"Declares durable external references requiring a portable export projection.",[10,295,179,296],{},[16,297,298],{},"boolean",[10,300,250,301],{},[16,302,303],{},"false",[25,305,307],{"id":306},"commands-and-runtime","Commands and runtime",[10,309,310],{},"These commands are supplied directly by this extension. Availability depends on the installed schema, selection and protection policy; query editor.can() first.",[36,312,313,323],{},[39,314,315],{},[42,316,317,320],{},[45,318,319],{},"Command",[45,321,322],{},"Parameter signature",[55,324,325,337,349],{},[42,326,327,332],{},[60,328,329],{},[16,330,331],{},"selectBlockRange",[60,333,334],{},[16,335,336],{},"selectBlockRange(range: BlockRangeRef | null)",[42,338,339,344],{},[60,340,341],{},[16,342,343],{},"moveBlockRange",[60,345,346],{},[16,347,348],{},"moveBlockRange(request: BlockMoveRequest)",[42,350,351,356],{},[60,352,353],{},[16,354,355],{},"insertBlockAt",[60,357,358],{},[16,359,360],{},"insertBlockAt(request: BlockInsertRequest)",[10,362,363,364,368],{},"These are parameter signatures. See ",[69,365,367],{"href":366},"\u002Fen\u002Fbuild\u002Fcommands","commands and controls"," to connect UI while retaining one transaction\u002Fhistory authority.",[25,370,372],{"id":371},"next-steps","Next steps",[10,374,375,376,380,381,383],{},"Return to ",[69,377,379],{"href":378},"\u002Fen\u002Fplugins","all plugins",", or read ",[69,382,162],{"href":169}," to distinguish options, attributes and commands.",[10,385,386,387,391,392,396],{},"See ",[69,388,390],{"href":389},"\u002Fen\u002Fbuild\u002Fextension","extension development"," for custom capabilities and ",[69,393,395],{"href":394},"\u002Fen\u002Fbuild","Build a product"," for complete hosting.",[398,399,400],"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":119,"searchDepth":402,"depth":402,"links":403},2,[404,405,406,407,415,416],{"id":27,"depth":402,"text":28},{"id":95,"depth":402,"text":96},{"id":152,"depth":402,"text":153},{"id":162,"depth":402,"text":163,"children":408},[409,411,412,413,414],{"id":173,"depth":410,"text":173},3,{"id":240,"depth":410,"text":240},{"id":256,"depth":410,"text":257},{"id":273,"depth":410,"text":273},{"id":289,"depth":410,"text":290},{"id":306,"depth":402,"text":307},{"id":371,"depth":402,"text":372},"md",[5,18,419,420,173,240,257,273,290,331,343,355,5],"Word 块操作准入","word","en",{"navigationTitle":5,"license":23},true,146,"\u002Fen\u002Fplugins\u002Freference\u002Fword-block-interaction","Word document extensions",{"title":5,"description":12},"plugins\u002Freference\u002Fword-block-interaction.en","Mm9mdeQTTu2p8eJvNusP6DOjXPdCj-0acgVUg0A4iwQ",1793045229577]