[{"data":1,"prerenderedAt":398},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fword-heading":3},{"id":4,"title":5,"body":6,"description":12,"extension":385,"keywords":386,"locale":389,"meta":390,"navigation":391,"order":392,"path":393,"section":394,"seo":395,"stem":396,"__hash__":397},"docs\u002Fplugins\u002Freference\u002Fword-heading.en.md","WordHeading",{"type":7,"value":8,"toc":368},"minimark",[9,13,24,29,35,85,93,97,113,120,144,152,156,159,162,166,172,177,180,186,192,195,198,203,208,211,214,219,223,226,229,234,239,243,246,251,256,260,263,313,321,325,336,340,351,364],[10,11,12],"p",{},"Expresses headings through Word paragraph styles and outline levels rather than a generic Heading node.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-paragraph-model"," · ",[21,22,23],"strong",{},"MIT",[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",[98,99,104],"pre",{"className":100,"code":101,"language":102,"meta":103,"style":103},"language-sh shiki shiki-themes github-light github-light github-dark","pnpm add @quirekit\u002Fclassic-paragraph-model@alpha\n","sh","",[16,105,106],{"__ignoreMap":103},[107,108,111],"span",{"class":109,"line":110},"line",1,[107,112,101],{},[10,114,115,116,119],{},"Start a Word product with the ",[69,117,118],{"href":71},"Word preset",". This export supports independent Core or custom presets; assemble companion nodes, commands and layout, without duplicate names.",[98,121,125],{"className":122,"code":123,"language":124,"meta":103,"style":103},"language-ts shiki shiki-themes github-light github-light github-dark","import { WordHeading } from '@quirekit\u002Fclassic-paragraph-model'\n","ts",[16,126,127],{"__ignoreMap":103},[107,128,129,133,137,140],{"class":109,"line":110},[107,130,132],{"class":131},"sDD9d","import",[107,134,136],{"class":135},"sVPnS"," { WordHeading } ",[107,138,139],{"class":131},"from",[107,141,143],{"class":142},"s-HEn"," '@quirekit\u002Fclassic-paragraph-model'\n",[10,145,146,147,151],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[69,148,150],{"href":149},"\u002Fen\u002Fsupport","support and licensing",".",[25,153,155],{"id":154},"integration-by-editor","Integration by editor",[10,157,158],{},"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.",[160,161],"plugin-integration",{"name":5},[25,163,165],{"id":164},"configuration","Configuration",[10,167,168,169,151],{},"These are extension-level defaults. Presets can override them; they are distinct from current document attributes. See ",[69,170,164],{"href":171},"\u002Fen\u002Fplugins\u002Fconfiguration",[173,174,176],"h3",{"id":175},"paragraphtype","paragraphType",[10,178,179],{},"Canonical paragraph node type used for newly authored headings.",[10,181,182,183],{},"Type：",[16,184,185],{},"string",[10,187,188,189],{},"Default：",[16,190,191],{},"\"paragraph\"",[173,193,194],{"id":194},"types",[10,196,197],{},"Legacy paragraph-like node types normalized by heading commands.",[10,199,182,200],{},[16,201,202],{},"readonly string[]",[10,204,188,205],{},[16,206,207],{},"[\"paragraph\", \"heading\"]",[173,209,210],{"id":210},"levels",[10,212,213],{},"Heading levels exposed by commands, shortcuts, and input rules.",[10,215,182,216],{},[16,217,218],{},"(1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9)[]",[10,220,188,221],{},[16,222,210],{},[173,224,225],{"id":225},"styles",[10,227,228],{},"Paragraph style identifiers associated with heading levels.",[10,230,182,231],{},[16,232,233],{},"Readonly\u003CPartial\u003CRecord\u003CWordHeadingLevel, string>>>",[10,235,188,236],{},[16,237,238],{},"Object.fromEntries( levels.map((level) => [level, defaultWordHeadingStyleId(level)]) )",[173,240,242],{"id":241},"keepheadingonenter","keepHeadingOnEnter",[10,244,245],{},"Whether Enter at the end of a heading should continue the heading.",[10,247,182,248],{},[16,249,250],{},"boolean",[10,252,188,253],{},[16,254,255],{},"false",[25,257,259],{"id":258},"commands-and-runtime","Commands and runtime",[10,261,262],{},"These commands are supplied directly by this extension. Availability depends on the installed schema, selection and protection policy; query editor.can() first.",[36,264,265,275],{},[39,266,267],{},[42,268,269,272],{},[45,270,271],{},"Command",[45,273,274],{},"Parameter signature",[55,276,277,289,301],{},[42,278,279,284],{},[60,280,281],{},[16,282,283],{},"setWordHeading",[60,285,286],{},[16,287,288],{},"setWordHeading(attributes: WordHeadingAttributes)",[42,290,291,296],{},[60,292,293],{},[16,294,295],{},"toggleWordHeading",[60,297,298],{},[16,299,300],{},"toggleWordHeading(attributes: WordHeadingAttributes)",[42,302,303,308],{},[60,304,305],{},[16,306,307],{},"exitWordHeadingAtEnd",[60,309,310],{},[16,311,312],{},"exitWordHeadingAtEnd()",[10,314,315,316,320],{},"These are parameter signatures. See ",[69,317,319],{"href":318},"\u002Fen\u002Fbuild\u002Fcommands","commands and controls"," to connect UI while retaining one transaction\u002Fhistory authority.",[25,322,324],{"id":323},"other-public-exports","Other public exports",[326,327,328],"ul",{},[329,330,331,19,333],"li",{},[16,332,5],{},[16,334,335],{},"@quirekit\u002Fclassic-paragraph",[25,337,339],{"id":338},"next-steps","Next steps",[10,341,342,343,347,348,350],{},"Return to ",[69,344,346],{"href":345},"\u002Fen\u002Fplugins","all plugins",", or read ",[69,349,164],{"href":171}," to distinguish options, attributes and commands.",[10,352,353,354,358,359,363],{},"See ",[69,355,357],{"href":356},"\u002Fen\u002Fbuild\u002Fextension","extension development"," for custom capabilities and ",[69,360,362],{"href":361},"\u002Fen\u002Fbuild","Build a product"," for complete hosting.",[365,366,367],"style",{},"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);}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}",{"title":103,"searchDepth":369,"depth":369,"links":370},2,[371,372,373,374,382,383,384],{"id":27,"depth":369,"text":28},{"id":95,"depth":369,"text":96},{"id":154,"depth":369,"text":155},{"id":164,"depth":369,"text":165,"children":375},[376,378,379,380,381],{"id":175,"depth":377,"text":176},3,{"id":194,"depth":377,"text":194},{"id":210,"depth":377,"text":210},{"id":225,"depth":377,"text":225},{"id":241,"depth":377,"text":242},{"id":258,"depth":369,"text":259},{"id":323,"depth":369,"text":324},{"id":338,"depth":369,"text":339},"md",[5,18,387,388,176,194,210,225,242,283,295,307,5,5],"Word 标题样式","word","en",{"navigationTitle":5,"license":23},true,162,"\u002Fen\u002Fplugins\u002Freference\u002Fword-heading","Word document extensions",{"title":5,"description":12},"plugins\u002Freference\u002Fword-heading.en","0YkFgtcEYMWIEf-O6J7gRmG5h7XZzmK7ZRhd42EfOcw",1793045230504]