[{"data":1,"prerenderedAt":256},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fcreate-block-numbering-extensions":3},{"id":4,"title":5,"body":6,"description":12,"extension":244,"keywords":245,"locale":248,"meta":249,"navigation":141,"order":250,"path":251,"section":252,"seo":253,"stem":254,"__hash__":255},"docs\u002Fplugins\u002Freference\u002Fcreate-block-numbering-extensions.en.md","createBlockNumberingExtensions",{"type":7,"value":8,"toc":236},"minimark",[9,13,24,29,35,80,89,93,109,112,168,176,180,183,186,190,193,197,200,203,207,219,232],[10,11,12],"p",{},"Returns canonical Word numbering adapted to continuous HTML flow without pagination or the Classic shell.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fblock-numbering"," · ",[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],{},"Spread the returned extension array into createBlockEditor extensions alongside its default content preset. Connect additional UI as documented below; this array is not a Classic preset.",[10,81,82,83,88],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[84,85,87],"a",{"href":86},"\u002Fen\u002Fplugins\u002Fcompatibility","status and integration rules",". Licensing is shown separately.",[25,90,92],{"id":91},"installation","Installation",[94,95,100],"pre",{"className":96,"code":97,"language":98,"meta":99,"style":99},"language-sh shiki shiki-themes github-light github-light github-dark","pnpm add @quirekit\u002Fblock-numbering@alpha\n","sh","",[16,101,102],{"__ignoreMap":99},[103,104,107],"span",{"class":105,"line":106},"line",1,[103,108,97],{},[10,110,111],{},"This exports or returns an extension array. Spread its elements into Core extensions; do not nest the array as one extension or treat it as a Classic product preset.",[94,113,117],{"className":114,"code":115,"language":116,"meta":99,"style":99},"language-ts shiki shiki-themes github-light github-light github-dark","import { createBlockNumberingExtensions } from '@quirekit\u002Fblock-numbering'\n\nconst extensions = [...createBlockNumberingExtensions()]\n","ts",[16,118,119,136,143],{"__ignoreMap":99},[103,120,121,125,129,132],{"class":105,"line":106},[103,122,124],{"class":123},"sDD9d","import",[103,126,128],{"class":127},"sVPnS"," { createBlockNumberingExtensions } ",[103,130,131],{"class":123},"from",[103,133,135],{"class":134},"s-HEn"," '@quirekit\u002Fblock-numbering'\n",[103,137,139],{"class":105,"line":138},2,[103,140,142],{"emptyLinePlaceholder":141},true,"\n",[103,144,146,149,153,156,159,162,165],{"class":105,"line":145},3,[103,147,148],{"class":123},"const",[103,150,152],{"class":151},"sUNQB"," extensions",[103,154,155],{"class":123}," =",[103,157,158],{"class":127}," [",[103,160,161],{"class":123},"...",[103,163,5],{"class":164},"sgQzM",[103,166,167],{"class":127},"()]\n",[10,169,170,171,175],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[84,172,174],{"href":173},"\u002Fen\u002Fsupport","support and licensing",".",[25,177,179],{"id":178},"integration-by-editor","Integration by editor",[10,181,182],{},"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.",[184,185],"plugin-integration",{"name":5},[25,187,189],{"id":188},"configuration","Configuration",[10,191,192],{},"This entry has no independent configuration fields. Set document attributes through domain commands; presets may install other configurable children.",[25,194,196],{"id":195},"commands-and-runtime","Commands and runtime",[10,198,199],{},"This entry declares no directly enumerable commands. Children supply bundle commands; product plugins use contributions or document services.",[10,201,202],{},"The adapter already installs WordNumbering; do not add it again. Block connects its gallery, task toggles and flow markers through list facts and commands. ClassicWordNumbering alone does not provide those Block interactions.",[25,204,206],{"id":205},"next-steps","Next steps",[10,208,209,210,214,215,218],{},"Return to ",[84,211,213],{"href":212},"\u002Fen\u002Fplugins","all plugins",", or read ",[84,216,188],{"href":217},"\u002Fen\u002Fplugins\u002Fconfiguration"," to distinguish options, attributes and commands.",[10,220,221,222,226,227,231],{},"See ",[84,223,225],{"href":224},"\u002Fen\u002Fbuild\u002Fextension","extension development"," for custom capabilities and ",[84,228,230],{"href":229},"\u002Fen\u002Fbuild","Build a product"," for complete hosting.",[233,234,235],"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}html pre.shiki code .sUNQB, html code.shiki .sUNQB{--shiki-default:#005CC5;--shiki-light:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sgQzM, html code.shiki .sgQzM{--shiki-default:#6F42C1;--shiki-light:#6F42C1;--shiki-dark:#B392F0}",{"title":99,"searchDepth":138,"depth":138,"links":237},[238,239,240,241,242,243],{"id":27,"depth":138,"text":28},{"id":91,"depth":138,"text":92},{"id":178,"depth":138,"text":179},{"id":188,"depth":138,"text":189},{"id":195,"depth":138,"text":196},{"id":205,"depth":138,"text":206},"md",[5,18,246,247,5],"Block Word 编号","block","en",{"navigationTitle":5,"license":23},76,"\u002Fen\u002Fplugins\u002Freference\u002Fcreate-block-numbering-extensions","Block product extensions",{"title":5,"description":12},"plugins\u002Freference\u002Fcreate-block-numbering-extensions.en","BskPA11xekzbAOEi_vlNeDjBLEQ90o_MNPVJ1FikEO8",1793045233235]