[{"data":1,"prerenderedAt":327},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fcommands-extension":3},{"id":4,"title":5,"body":6,"description":12,"extension":314,"keywords":315,"locale":318,"meta":319,"navigation":320,"order":321,"path":322,"section":323,"seo":324,"stem":325,"__hash__":326},"docs\u002Fplugins\u002Freference\u002Fcommands-extension.en.md","CommandsExtension",{"type":7,"value":8,"toc":305},"minimark",[9,13,24,29,35,78,87,91,107,110,118,122,125,128,132,135,139,142,264,272,276,288,301],[10,11,12],"p",{},"Provides Core commands and is installed by Editor by default. Configure built-ins through Editor options.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fcore"," · ",[21,22,23],"strong",{},"MIT",[25,26,28],"h2",{"id":27},"editor-compatibility","Editor compatibility",[10,30,31,32],{},"Layer：",[21,33,34],{},"Core built-in",[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],{},"Supported",[60,67,68],{},"Installed automatically by the product's Core. Manage it through Core enableCoreExtensions and coreExtensionOptions without duplicates. View-specific event behavior follows the active View.",[42,70,71,74,76],{},[60,72,73],{},"Block",[60,75,65],{},[60,77,68],{},[10,79,80,81,86],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[82,83,85],"a",{"href":84},"\u002Fen\u002Fplugins\u002Fcompatibility","status and integration rules",". Licensing is shown separately.",[25,88,90],{"id":89},"installation","Installation",[92,93,98],"pre",{"className":94,"code":95,"language":96,"meta":97,"style":97},"language-sh shiki shiki-themes github-light github-light github-dark","pnpm add @quirekit\u002Fcore@alpha\n","sh","",[16,99,100],{"__ignoreMap":97},[101,102,105],"span",{"class":103,"line":104},"line",1,[101,106,95],{},[10,108,109],{},"Editor installs this built-in by default. Use enableCoreExtensions and coreExtensionOptions instead of adding a duplicate extension.",[10,111,112,113,117],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[82,114,116],{"href":115},"\u002Fen\u002Fsupport","support and licensing",".",[25,119,121],{"id":120},"integration-by-editor","Integration by editor",[10,123,124],{},"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.",[126,127],"plugin-integration",{"name":5},[25,129,131],{"id":130},"configuration","Configuration",[10,133,134],{},"This entry has no independent configuration fields. Set document attributes through domain commands; presets may install other configurable children.",[25,136,138],{"id":137},"commands-and-runtime","Commands and runtime",[10,140,141],{},"These commands are supplied directly by this extension. Availability depends on the installed schema, selection and protection policy; query editor.can() first.",[36,143,144,154],{},[39,145,146],{},[42,147,148,151],{},[45,149,150],{},"Command",[45,152,153],{},"Parameter signature",[55,155,156,168,180,192,204,216,228,240,252],{},[42,157,158,163],{},[60,159,160],{},[16,161,162],{},"extendMarkRange",[60,164,165],{},[16,166,167],{},"extendMarkRange(typeOrName: QuireMarkTypeInput, attributes?: Readonly\u003CRecord\u003Cstring, unknown>>)",[42,169,170,175],{},[60,171,172],{},[16,173,174],{},"resetAttributes",[60,176,177],{},[16,178,179],{},"resetAttributes(typeOrName: QuireAttributeTypeInput, attributes: string | readonly string[])",[42,181,182,187],{},[60,183,184],{},[16,185,186],{},"setMark",[60,188,189],{},[16,190,191],{},"setMark(typeOrName: QuireMarkTypeInput, attrs?: Attrs | null)",[42,193,194,199],{},[60,195,196],{},[16,197,198],{},"setMeta",[60,200,201],{},[16,202,203],{},"setMeta(key: unknown, value: unknown)",[42,205,206,211],{},[60,207,208],{},[16,209,210],{},"toggleMark",[60,212,213],{},[16,214,215],{},"toggleMark(typeOrName: QuireMarkTypeInput, attrs?: Attrs | null, options?: QuireToggleMarkOptions)",[42,217,218,223],{},[60,219,220],{},[16,221,222],{},"unsetAllMarks",[60,224,225],{},[16,226,227],{},"unsetAllMarks()",[42,229,230,235],{},[60,231,232],{},[16,233,234],{},"unsetMark",[60,236,237],{},[16,238,239],{},"unsetMark(typeOrName: QuireMarkTypeInput, options?: QuireUnsetMarkOptions)",[42,241,242,247],{},[60,243,244],{},[16,245,246],{},"updateAttributes",[60,248,249],{},[16,250,251],{},"updateAttributes(typeOrName: QuireAttributeTypeInput, attributes?: Readonly\u003CRecord\u003Cstring, unknown>>)",[42,253,254,259],{},[60,255,256],{},[16,257,258],{},"updateDecorations",[60,260,261],{},[16,262,263],{},"updateDecorations(extensionName?: string | undefined)",[10,265,266,267,271],{},"These are parameter signatures. See ",[82,268,270],{"href":269},"\u002Fen\u002Fbuild\u002Fcommands","commands and controls"," to connect UI while retaining one transaction\u002Fhistory authority.",[25,273,275],{"id":274},"next-steps","Next steps",[10,277,278,279,283,284,287],{},"Return to ",[82,280,282],{"href":281},"\u002Fen\u002Fplugins","all plugins",", or read ",[82,285,130],{"href":286},"\u002Fen\u002Fplugins\u002Fconfiguration"," to distinguish options, attributes and commands.",[10,289,290,291,295,296,300],{},"See ",[82,292,294],{"href":293},"\u002Fen\u002Fbuild\u002Fextension","extension development"," for custom capabilities and ",[82,297,299],{"href":298},"\u002Fen\u002Fbuild","Build a product"," for complete hosting.",[302,303,304],"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);}",{"title":97,"searchDepth":306,"depth":306,"links":307},2,[308,309,310,311,312,313],{"id":27,"depth":306,"text":28},{"id":89,"depth":306,"text":90},{"id":120,"depth":306,"text":121},{"id":130,"depth":306,"text":131},{"id":137,"depth":306,"text":138},{"id":274,"depth":306,"text":275},"md",[5,18,316,317,162,174,186,198,210,222,234,246,258,5],"基础命令","builtin","en",{"navigationTitle":5,"license":23},true,74,"\u002Fen\u002Fplugins\u002Freference\u002Fcommands-extension","Core built-ins",{"title":5,"description":12},"plugins\u002Freference\u002Fcommands-extension.en","Hz4zKeB8V2qEu9I0GDkgycGOS-pkX4FuSDnSa6vwgLs",1793045235941]