[{"data":1,"prerenderedAt":355},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fwhiteboard":3},{"id":4,"title":5,"body":6,"description":12,"extension":342,"keywords":343,"locale":346,"meta":347,"navigation":348,"order":349,"path":350,"section":351,"seo":352,"stem":353,"__hash__":354},"docs\u002Fplugins\u002Freference\u002Fwhiteboard.en.md","Whiteboard",{"type":7,"value":8,"toc":327},"minimark",[9,13,24,29,35,89,97,101,117,125,149,156,160,163,166,170,176,180,183,189,195,198,201,205,210,214,217,222,226,230,233,238,242,246,249,287,295,299,310,323],[10,11,12],"p",{},"Stores whiteboard scenes, titles and previews. Editing, renaming, selection actions and rendering are explicit host integrations.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fextension-whiteboard"," · ",[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],{},"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],{},"Requires integration",[60,67,68,73],{},[69,70,72],"a",{"href":71},"\u002Fen\u002Fplugins\u002Freference\u002Fclassic-whiteboard","ClassicWhiteboard"," — The shared extension defines content and host ports. Use the Classic adapter below for its workspace and product interaction, without installing both the base extension and its replacement.",[42,75,76,79,82],{},[60,77,78],{},"Block",[60,80,81],{},"Supported",[60,83,84,88],{},[69,85,87],{"href":86},"\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,90,91,92,96],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[69,93,95],{"href":94},"\u002Fen\u002Fplugins\u002Fcompatibility","status and integration rules",". Licensing is shown separately.",[25,98,100],{"id":99},"installation","Installation",[102,103,108],"pre",{"className":104,"code":105,"language":106,"meta":107,"style":107},"language-sh shiki shiki-themes github-light github-light github-dark","pnpm add @quirekit\u002Fextension-whiteboard@alpha\n","sh","",[16,109,110],{"__ignoreMap":107},[111,112,115],"span",{"class":113,"line":114},"line",1,[111,116,105],{},[10,118,119,120,124],{},"Install in Editor extensions. The host supplies a view, container and persistence; see ",[69,121,123],{"href":122},"\u002Fen\u002Fguide\u002Fquick-start","Quick start",".",[102,126,130],{"className":127,"code":128,"language":129,"meta":107,"style":107},"language-ts shiki shiki-themes github-light github-light github-dark","import { Whiteboard } from '@quirekit\u002Fextension-whiteboard'\n","ts",[16,131,132],{"__ignoreMap":107},[111,133,134,138,142,145],{"class":113,"line":114},[111,135,137],{"class":136},"sDD9d","import",[111,139,141],{"class":140},"sVPnS"," { Whiteboard } ",[111,143,144],{"class":136},"from",[111,146,148],{"class":147},"s-HEn"," '@quirekit\u002Fextension-whiteboard'\n",[10,150,151,152,124],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[69,153,155],{"href":154},"\u002Fen\u002Fsupport","support and licensing",[25,157,159],{"id":158},"integration-by-editor","Integration by editor",[10,161,162],{},"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.",[164,165],"plugin-integration",{"name":5},[25,167,169],{"id":168},"configuration","Configuration",[10,171,172,173,124],{},"These are extension-level defaults. Presets can override them; they are distinct from current document attributes. See ",[69,174,168],{"href":175},"\u002Fen\u002Fplugins\u002Fconfiguration",[177,178,179],"h3",{"id":179},"open",[10,181,182],{},"Open an authoring workspace for the captured target and return a disposable UI task. Recheck the target before asynchronous submission.",[10,184,185,186],{},"Type：",[16,187,188],{},"((request: WhiteboardEditRequest, editor: QuireEditor) => { close(): void; }) | null",[10,190,191,192],{},"Default：",[16,193,194],{},"null",[177,196,197],{"id":197},"rename",[10,199,200],{},"Host's lightweight title task, sharing exact source acceptance.",[10,202,185,203],{},[16,204,188],{},[10,206,191,207],{},[16,208,209],{},"undefined",[177,211,213],{"id":212},"mountactions","mountActions",[10,215,216],{},"Optional product toolbar for the selected DOM preview.",[10,218,185,219],{},[16,220,221],{},"(container: HTMLElement, actions: WhiteboardPreviewActions): WhiteboardActionsHandle",[10,223,191,224],{},[16,225,209],{},[177,227,229],{"id":228},"renderscene","renderScene",[10,231,232],{},"Render a whiteboard scene, returning normalized scene data and its matching preview.",[10,234,185,235],{},[16,236,237],{},"((scene: WhiteboardScene, editor: QuireEditor) => ReturnType\u003CWhiteboardSceneRenderer>) | null",[10,239,191,240],{},[16,241,209],{},[25,243,245],{"id":244},"commands-and-runtime","Commands and runtime",[10,247,248],{},"These commands are supplied directly by this extension. Availability depends on the installed schema, selection and protection policy; query editor.can() first.",[36,250,251,261],{},[39,252,253],{},[42,254,255,258],{},[45,256,257],{},"Command",[45,259,260],{},"Parameter signature",[55,262,263,275],{},[42,264,265,270],{},[60,266,267],{},[16,268,269],{},"insertWhiteboard",[60,271,272],{},[16,273,274],{},"insertWhiteboard(request: WhiteboardInsertion)",[42,276,277,282],{},[60,278,279],{},[16,280,281],{},"updateWhiteboard",[60,283,284],{},[16,285,286],{},"updateWhiteboard(request: WhiteboardUpdate)",[10,288,289,290,294],{},"These are parameter signatures. See ",[69,291,293],{"href":292},"\u002Fen\u002Fbuild\u002Fcommands","commands and controls"," to connect UI while retaining one transaction\u002Fhistory authority.",[25,296,298],{"id":297},"next-steps","Next steps",[10,300,301,302,306,307,309],{},"Return to ",[69,303,305],{"href":304},"\u002Fen\u002Fplugins","all plugins",", or read ",[69,308,168],{"href":175}," to distinguish options, attributes and commands.",[10,311,312,313,317,318,322],{},"See ",[69,314,316],{"href":315},"\u002Fen\u002Fbuild\u002Fextension","extension development"," for custom capabilities and ",[69,319,321],{"href":320},"\u002Fen\u002Fbuild","Build a product"," for complete hosting.",[324,325,326],"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":107,"searchDepth":328,"depth":328,"links":329},2,[330,331,332,333,340,341],{"id":27,"depth":328,"text":28},{"id":99,"depth":328,"text":100},{"id":158,"depth":328,"text":159},{"id":168,"depth":328,"text":169,"children":334},[335,337,338,339],{"id":179,"depth":336,"text":179},3,{"id":197,"depth":336,"text":197},{"id":212,"depth":336,"text":213},{"id":228,"depth":336,"text":229},{"id":244,"depth":328,"text":245},{"id":297,"depth":328,"text":298},"md",[5,18,344,345,179,197,213,229,269,281,5],"白板","objects","en",{"navigationTitle":5,"license":23},true,144,"\u002Fen\u002Fplugins\u002Freference\u002Fwhiteboard","Graphics and data",{"title":5,"description":12},"plugins\u002Freference\u002Fwhiteboard.en","anYNQ8BVF2EfmMFuv_Iz6G49MJk2dQm1kKHpBuGh950",1793045229126]