[{"data":1,"prerenderedAt":301},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fblock-sections":3},{"id":4,"title":5,"body":6,"description":12,"extension":288,"keywords":289,"locale":292,"meta":293,"navigation":294,"order":295,"path":296,"section":297,"seo":298,"stem":299,"__hash__":300},"docs\u002Fplugins\u002Freference\u002Fblock-sections.en.md","BlockSections",{"type":7,"value":8,"toc":279},"minimark",[9,13,24,29,35,85,93,97,113,121,145,152,156,159,162,166,169,173,176,238,246,250,262,275],[10,11,12],"p",{},"Heading-based sections with folding and section-level operations; folding is transient view state and never changes content.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fblock-editor"," · ",[21,22,23],"strong",{},"AGPL-3.0-only",[25,26,28],"h2",{"id":27},"editor-compatibility","Editor compatibility",[10,30,31,32],{},"Layer：",[21,33,34],{},"Block product integration",[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,69],"tbody",{},[42,58,59,63,66],{},[60,61,62],"td",{},"Classic",[60,64,65],{},"Unsupported",[60,67,68],{},"This entry targets continuous-flow Block, not the paginated Classic product. Use the corresponding shared or Word capability with Classic assembly.",[42,70,71,74,77],{},[60,72,73],{},"Block",[60,75,76],{},"Supported",[60,78,79,84],{},[80,81,83],"a",{"href":82},"\u002Fen\u002Fplugins\u002Freference\u002Fcreate-block-editor-preset","createBlockEditorPreset"," — The default createBlockEditor preset installs this capability. Configure the corresponding preset child; graphic editing uses the preset's workspace ports, while persistence and assets remain host-owned. Avoid duplicate extensions.",[10,86,87,88,92],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[80,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\u002Fblock-editor@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,120],{},"Install in Editor extensions. The host supplies a view, container and persistence; see ",[80,117,119],{"href":118},"\u002Fen\u002Fguide\u002Fquick-start","Quick start",".",[98,122,126],{"className":123,"code":124,"language":125,"meta":103,"style":103},"language-ts shiki shiki-themes github-light github-light github-dark","import { BlockSections } from '@quirekit\u002Fblock-editor'\n","ts",[16,127,128],{"__ignoreMap":103},[107,129,130,134,138,141],{"class":109,"line":110},[107,131,133],{"class":132},"sDD9d","import",[107,135,137],{"class":136},"sVPnS"," { BlockSections } ",[107,139,140],{"class":132},"from",[107,142,144],{"class":143},"s-HEn"," '@quirekit\u002Fblock-editor'\n",[10,146,147,148,120],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[80,149,151],{"href":150},"\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],{},"This entry has no independent configuration fields. Set document attributes through domain commands; presets may install other configurable children.",[25,170,172],{"id":171},"commands-and-runtime","Commands and runtime",[10,174,175],{},"These commands are supplied directly by this extension. Availability depends on the installed schema, selection and protection policy; query editor.can() first.",[36,177,178,188],{},[39,179,180],{},[42,181,182,185],{},[45,183,184],{},"Command",[45,186,187],{},"Parameter signature",[55,189,190,202,214,226],{},[42,191,192,197],{},[60,193,194],{},[16,195,196],{},"toggleBlockSection",[60,198,199],{},[16,200,201],{},"toggleBlockSection(id: string)",[42,203,204,209],{},[60,205,206],{},[16,207,208],{},"duplicateBlockSection",[60,210,211],{},[16,212,213],{},"duplicateBlockSection(id: string)",[42,215,216,221],{},[60,217,218],{},[16,219,220],{},"moveBlockSection",[60,222,223],{},[16,224,225],{},"moveBlockSection(id: string, direction: \"up\" | \"down\")",[42,227,228,233],{},[60,229,230],{},[16,231,232],{},"navigateBlockLink",[60,234,235],{},[16,236,237],{},"navigateBlockLink(id: string)",[10,239,240,241,245],{},"These are parameter signatures. See ",[80,242,244],{"href":243},"\u002Fen\u002Fbuild\u002Fcommands","commands and controls"," to connect UI while retaining one transaction\u002Fhistory authority.",[25,247,249],{"id":248},"next-steps","Next steps",[10,251,252,253,257,258,261],{},"Return to ",[80,254,256],{"href":255},"\u002Fen\u002Fplugins","all plugins",", or read ",[80,259,164],{"href":260},"\u002Fen\u002Fplugins\u002Fconfiguration"," to distinguish options, attributes and commands.",[10,263,264,265,269,270,274],{},"See ",[80,266,268],{"href":267},"\u002Fen\u002Fbuild\u002Fextension","extension development"," for custom capabilities and ",[80,271,273],{"href":272},"\u002Fen\u002Fbuild","Build a product"," for complete hosting.",[276,277,278],"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":280,"depth":280,"links":281},2,[282,283,284,285,286,287],{"id":27,"depth":280,"text":28},{"id":95,"depth":280,"text":96},{"id":154,"depth":280,"text":155},{"id":164,"depth":280,"text":165},{"id":171,"depth":280,"text":172},{"id":248,"depth":280,"text":249},"md",[5,18,290,291,196,208,220,232,5],"章节折叠","block","en",{"navigationTitle":5,"license":23},true,17,"\u002Fen\u002Fplugins\u002Freference\u002Fblock-sections","Block product extensions",{"title":5,"description":12},"plugins\u002Freference\u002Fblock-sections.en","XUxrKmkBHGVJZ_68GwqaInhg9VmcYXSrjfq8BqoMy30",1793045233122]