[{"data":1,"prerenderedAt":289},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fblock-container":3},{"id":4,"title":5,"body":6,"description":12,"extension":276,"keywords":277,"locale":280,"meta":281,"navigation":282,"order":283,"path":284,"section":285,"seo":286,"stem":287,"__hash__":288},"docs\u002Fplugins\u002Freference\u002Fblock-container.en.md","BlockContainer",{"type":7,"value":8,"toc":267},"minimark",[9,13,24,29,35,85,93,97,113,121,145,152,156,159,162,166,169,173,176,226,234,238,250,263],[10,11,12],"p",{},"Highlight and callout containers with an optional title or emoji. They hold any blocks and share MSFE's Prose container anatomy.",[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 { BlockContainer } 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"," { BlockContainer } ",[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],{},[42,191,192,197],{},[60,193,194],{},[16,195,196],{},"setBlockContainer",[60,198,199],{},[16,200,201],{},"setBlockContainer(attrs: Partial\u003CBlockContainerAttributes>)",[42,203,204,209],{},[60,205,206],{},[16,207,208],{},"updateBlockContainer",[60,210,211],{},[16,212,213],{},"updateBlockContainer(__0: BlockContainerChange)",[42,215,216,221],{},[60,217,218],{},[16,219,220],{},"unwrapBlockContainer",[60,222,223],{},[16,224,225],{},"unwrapBlockContainer(position: number)",[10,227,228,229,233],{},"These are parameter signatures. See ",[80,230,232],{"href":231},"\u002Fen\u002Fbuild\u002Fcommands","commands and controls"," to connect UI while retaining one transaction\u002Fhistory authority.",[25,235,237],{"id":236},"next-steps","Next steps",[10,239,240,241,245,246,249],{},"Return to ",[80,242,244],{"href":243},"\u002Fen\u002Fplugins","all plugins",", or read ",[80,247,164],{"href":248},"\u002Fen\u002Fplugins\u002Fconfiguration"," to distinguish options, attributes and commands.",[10,251,252,253,257,258,262],{},"See ",[80,254,256],{"href":255},"\u002Fen\u002Fbuild\u002Fextension","extension development"," for custom capabilities and ",[80,259,261],{"href":260},"\u002Fen\u002Fbuild","Build a product"," for complete hosting.",[264,265,266],"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":268,"depth":268,"links":269},2,[270,271,272,273,274,275],{"id":27,"depth":268,"text":28},{"id":95,"depth":268,"text":96},{"id":154,"depth":268,"text":155},{"id":164,"depth":268,"text":165},{"id":171,"depth":268,"text":172},{"id":236,"depth":268,"text":237},"md",[5,18,278,279,196,208,220,5],"强调容器","block","en",{"navigationTitle":5,"license":23},true,7,"\u002Fen\u002Fplugins\u002Freference\u002Fblock-container","Block product extensions",{"title":5,"description":12},"plugins\u002Freference\u002Fblock-container.en","D4fHCoQ2bKWBP-pv7TglJkDaEDgaio5OAgE9epmM4ec",1793045232703]