[{"data":1,"prerenderedAt":250},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fselection":3},{"id":4,"title":5,"body":6,"description":12,"extension":237,"keywords":238,"locale":241,"meta":242,"navigation":243,"order":244,"path":245,"section":246,"seo":247,"stem":248,"__hash__":249},"docs\u002Fplugins\u002Freference\u002Fselection.en.md","Selection",{"type":7,"value":8,"toc":225},"minimark",[9,13,24,29,35,78,87,91,107,115,139,146,150,153,156,160,166,171,174,180,186,190,193,197,208,221],[10,11,12],"p",{},"Preserves a visible text-selection decoration after blur. The host or view supplies its appearance.",[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,69],"tbody",{},[42,58,59,63,66],{},[60,61,62],"td",{},"Classic",[60,64,65],{},"Unverified",[60,67,68],{},"A complete integration and verification path for this entry has not been established for this product. A public Core export does not imply product presentation, controls or file support.",[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\u002Fextensions@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 { Selection } from '@quirekit\u002Fextensions'\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"," { Selection } ",[101,133,134],{"class":126},"from",[101,136,138],{"class":137},"s-HEn"," '@quirekit\u002Fextensions'\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,170],"h3",{"id":169},"classname","className",[10,172,173],{},"Class name added to the visible selection decoration.",[10,175,176,177],{},"Type：",[16,178,179],{},"string",[10,181,182,183],{},"Default：",[16,184,185],{},"\"selection\"",[25,187,189],{"id":188},"commands-and-runtime","Commands and runtime",[10,191,192],{},"This entry declares no directly enumerable commands. Children supply bundle commands; product plugins use contributions or document services.",[25,194,196],{"id":195},"next-steps","Next steps",[10,198,199,200,204,205,207],{},"Return to ",[82,201,203],{"href":202},"\u002Fen\u002Fplugins","all plugins",", or read ",[82,206,158],{"href":165}," to distinguish options, attributes and commands.",[10,209,210,211,215,216,220],{},"See ",[82,212,214],{"href":213},"\u002Fen\u002Fbuild\u002Fextension","extension development"," for custom capabilities and ",[82,217,219],{"href":218},"\u002Fen\u002Fbuild","Build a product"," for complete hosting.",[222,223,224],"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":226,"depth":226,"links":227},2,[228,229,230,231,235,236],{"id":27,"depth":226,"text":28},{"id":89,"depth":226,"text":90},{"id":148,"depth":226,"text":149},{"id":158,"depth":226,"text":159,"children":232},[233],{"id":169,"depth":234,"text":170},3,{"id":188,"depth":226,"text":189},{"id":195,"depth":226,"text":196},"md",[5,18,239,240,170,5],"失焦选区装饰","behavior","en",{"navigationTitle":5,"license":23},true,128,"\u002Fen\u002Fplugins\u002Freference\u002Fselection","Editing behavior",{"title":5,"description":12},"plugins\u002Freference\u002Fselection.en","XEDKAorQqWp8ObJY_N-dMgybYa7yGWQW3KCCHM2WV7s",1793045228602]