[{"data":1,"prerenderedAt":321},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Ftrailing-node":3},{"id":4,"title":5,"body":6,"description":12,"extension":309,"keywords":310,"locale":313,"meta":314,"navigation":160,"order":315,"path":316,"section":317,"seo":318,"stem":319,"__hash__":320},"docs\u002Fplugins\u002Freference\u002Ftrailing-node.en.md","TrailingNode",{"type":7,"value":8,"toc":298},"minimark",[9,13,24,29,35,88,96,100,116,124,131,196,203,207,210,213,217,223,227,230,236,242,246,249,254,259,263,266,270,281,294],[10,11,12],"p",{},"Keeps an editable block at the document end. Without node, it uses the schema default block and then paragraph.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fextensions"," · ",[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\u002Fclassic-editor-preset","classicEditorPreset"," — Use the product-neutral classicEditorPreset without duplicating installed capabilities. The Word preset replaces paragraphs, headings and container lists; do not stack generic structures onto that model.",[42,75,76,79,81],{},[60,77,78],{},"Block",[60,80,65],{},[60,82,83,87],{},[69,84,86],{"href":85},"\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,89,90,91,95],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[69,92,94],{"href":93},"\u002Fen\u002Fplugins\u002Fcompatibility","status and integration rules",". Licensing is shown separately.",[25,97,99],{"id":98},"installation","Installation",[101,102,107],"pre",{"className":103,"code":104,"language":105,"meta":106,"style":106},"language-sh shiki shiki-themes github-light github-light github-dark","pnpm add @quirekit\u002Fextensions@alpha\n","sh","",[16,108,109],{"__ignoreMap":106},[110,111,114],"span",{"class":112,"line":113},"line",1,[110,115,104],{},[10,117,118,119,123],{},"Install in Editor extensions. The host supplies a view, container and persistence; see ",[69,120,122],{"href":121},"\u002Fen\u002Fguide\u002Fquick-start","Quick start",".",[10,125,126,127,130],{},"Included in StarterKit. Configure its ",[16,128,129],{},"trailingNode"," child, or disable that child before installing a replacement.",[101,132,136],{"className":133,"code":134,"language":135,"meta":106,"style":106},"language-ts shiki shiki-themes github-light github-light github-dark","import { TrailingNode } from '@quirekit\u002Fextensions'\n\nconst trailing = TrailingNode.configure({ node: 'paragraph', notAfter: ['paragraph'] })\n","ts",[16,137,138,155,162],{"__ignoreMap":106},[110,139,140,144,148,151],{"class":112,"line":113},[110,141,143],{"class":142},"sDD9d","import",[110,145,147],{"class":146},"sVPnS"," { TrailingNode } ",[110,149,150],{"class":142},"from",[110,152,154],{"class":153},"s-HEn"," '@quirekit\u002Fextensions'\n",[110,156,158],{"class":112,"line":157},2,[110,159,161],{"emptyLinePlaceholder":160},true,"\n",[110,163,165,168,172,175,178,182,185,188,191,193],{"class":112,"line":164},3,[110,166,167],{"class":142},"const",[110,169,171],{"class":170},"sUNQB"," trailing",[110,173,174],{"class":142}," =",[110,176,177],{"class":146}," TrailingNode.",[110,179,181],{"class":180},"sgQzM","configure",[110,183,184],{"class":146},"({ node: ",[110,186,187],{"class":153},"'paragraph'",[110,189,190],{"class":146},", notAfter: [",[110,192,187],{"class":153},[110,194,195],{"class":146},"] })\n",[10,197,198,199,123],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[69,200,202],{"href":201},"\u002Fen\u002Fsupport","support and licensing",[25,204,206],{"id":205},"integration-by-editor","Integration by editor",[10,208,209],{},"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.",[211,212],"plugin-integration",{"name":5},[25,214,216],{"id":215},"configuration","Configuration",[10,218,219,220,123],{},"These are extension-level defaults. Presets can override them; they are distinct from current document attributes. See ",[69,221,215],{"href":222},"\u002Fen\u002Fplugins\u002Fconfiguration",[224,225,226],"h3",{"id":226},"node",[10,228,229],{},"Node type inserted at the end of the document.",[10,231,232,233],{},"Type：",[16,234,235],{},"string | undefined",[10,237,238,239],{},"Default：",[16,240,241],{},"undefined",[224,243,245],{"id":244},"notafter","notAfter",[10,247,248],{},"Node types after which the trailing node must not be inserted.",[10,250,232,251],{},[16,252,253],{},"string | readonly string[] | undefined",[10,255,238,256],{},[16,257,258],{},"[]",[25,260,262],{"id":261},"commands-and-runtime","Commands and runtime",[10,264,265],{},"This entry declares no directly enumerable commands. Children supply bundle commands; product plugins use contributions or document services.",[25,267,269],{"id":268},"next-steps","Next steps",[10,271,272,273,277,278,280],{},"Return to ",[69,274,276],{"href":275},"\u002Fen\u002Fplugins","all plugins",", or read ",[69,279,215],{"href":222}," to distinguish options, attributes and commands.",[10,282,283,284,288,289,293],{},"See ",[69,285,287],{"href":286},"\u002Fen\u002Fbuild\u002Fextension","extension development"," for custom capabilities and ",[69,290,292],{"href":291},"\u002Fen\u002Fbuild","Build a product"," for complete hosting.",[295,296,297],"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":106,"searchDepth":157,"depth":157,"links":299},[300,301,302,303,307,308],{"id":27,"depth":157,"text":28},{"id":98,"depth":157,"text":99},{"id":205,"depth":157,"text":206},{"id":215,"depth":157,"text":216,"children":304},[305,306],{"id":226,"depth":164,"text":226},{"id":244,"depth":164,"text":245},{"id":261,"depth":157,"text":262},{"id":268,"depth":157,"text":269},"md",[5,18,311,312,226,245,5],"文末可编辑块","behavior","en",{"navigationTitle":5,"license":23},141,"\u002Fen\u002Fplugins\u002Freference\u002Ftrailing-node","Editing behavior",{"title":5,"description":12},"plugins\u002Freference\u002Ftrailing-node.en","wfaw_mAJeFM_LXAkwpy4y-DfZEKu8eaYnmvbCAElCuM",1793045228722]