[{"data":1,"prerenderedAt":265},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fdom-view-extension":3},{"id":4,"title":5,"body":6,"description":12,"extension":252,"keywords":253,"locale":256,"meta":257,"navigation":258,"order":259,"path":260,"section":261,"seo":262,"stem":263,"__hash__":264},"docs\u002Fplugins\u002Freference\u002Fdom-view-extension.en.md","DomViewExtension",{"type":7,"value":8,"toc":239},"minimark",[9,13,24,29,35,78,87,91,107,115,139,146,150,153,156,160,166,170,173,179,185,189,192,196,207,211,222,235],[10,11,12],"p",{},"Registers native contenteditable in dom mode, without the retained layout and pagination engine.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fdom-view"," · ",[21,22,23],"strong",{},"MIT",[25,26,28],"h2",{"id":27},"editor-compatibility","Editor compatibility",[10,30,31,32],{},"Layer：",[21,33,34],{},"View 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 View is outside the product's current mounting contract. Independent Core hosts can select it through the View guide; adding the extension does not switch product form.",[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\u002Fdom-view@alpha\n","sh","",[16,99,100],{"__ignoreMap":97},[101,102,105],"span",{"class":103,"line":104},"line",1,[101,106,95],{},[10,108,109,110,114],{},"Install in Editor extensions. The host supplies a view, container and persistence; see ",[82,111,113],{"href":112},"\u002Fen\u002Fguide\u002Fquick-start","Quick start",".",[92,116,120],{"className":117,"code":118,"language":119,"meta":97,"style":97},"language-ts shiki shiki-themes github-light github-light github-dark","import { DomViewExtension } from '@quirekit\u002Fdom-view'\n","ts",[16,121,122],{"__ignoreMap":97},[101,123,124,128,132,135],{"class":103,"line":104},[101,125,127],{"class":126},"sDD9d","import",[101,129,131],{"class":130},"sVPnS"," { DomViewExtension } ",[101,133,134],{"class":126},"from",[101,136,138],{"class":137},"s-HEn"," '@quirekit\u002Fdom-view'\n",[10,140,141,142,114],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[82,143,145],{"href":144},"\u002Fen\u002Fsupport","support and licensing",[25,147,149],{"id":148},"integration-by-editor","Integration by editor",[10,151,152],{},"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.",[154,155],"plugin-integration",{"name":5},[25,157,159],{"id":158},"configuration","Configuration",[10,161,162,163,114],{},"These are extension-level defaults. Presets can override them; they are distinct from current document attributes. See ",[82,164,158],{"href":165},"\u002Fen\u002Fplugins\u002Fconfiguration",[167,168,169],"h3",{"id":169},"props",[10,171,172],{},"View-local native props, including direct plugins and DOM renderers.",[10,174,175,176],{},"Type：",[16,177,178],{},"DomViewProps | undefined",[10,180,181,182],{},"Default：",[16,183,184],{},"undefined",[25,186,188],{"id":187},"commands-and-runtime","Commands and runtime",[10,190,191],{},"This entry declares no directly enumerable commands. Children supply bundle commands; product plugins use contributions or document services.",[25,193,195],{"id":194},"other-public-exports","Other public exports",[197,198,199],"ul",{},[200,201,202,19,205],"li",{},[16,203,204],{},"domViewExtension",[16,206,18],{},[25,208,210],{"id":209},"next-steps","Next steps",[10,212,213,214,218,219,221],{},"Return to ",[82,215,217],{"href":216},"\u002Fen\u002Fplugins","all plugins",", or read ",[82,220,158],{"href":165}," to distinguish options, attributes and commands.",[10,223,224,225,229,230,234],{},"See ",[82,226,228],{"href":227},"\u002Fen\u002Fbuild\u002Fextension","extension development"," for custom capabilities and ",[82,231,233],{"href":232},"\u002Fen\u002Fbuild","Build a product"," for complete hosting.",[236,237,238],"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":97,"searchDepth":240,"depth":240,"links":241},2,[242,243,244,245,249,250,251],{"id":27,"depth":240,"text":28},{"id":89,"depth":240,"text":90},{"id":148,"depth":240,"text":149},{"id":158,"depth":240,"text":159,"children":246},[247],{"id":169,"depth":248,"text":169},3,{"id":187,"depth":240,"text":188},{"id":194,"depth":240,"text":195},{"id":209,"depth":240,"text":210},"md",[5,18,254,255,169,5,204],"原生 DOM 视图","views","en",{"navigationTitle":5,"license":23},true,92,"\u002Fen\u002Fplugins\u002Freference\u002Fdom-view-extension","View adapters",{"title":5,"description":12},"plugins\u002Freference\u002Fdom-view-extension.en","A-ftqNha6fL2fD8Ohb9lOb9UnOO8kHBsGTZVy04yJkY",1793045229328]