[{"data":1,"prerenderedAt":207},["ShallowReactive",2],{"docs:\u002Fen\u002Fdocs\u002Fconfiguration\u002Fpresets":3},{"id":4,"title":5,"body":6,"description":197,"extension":198,"meta":199,"navigation":202,"path":203,"seo":204,"stem":205,"__hash__":206},"docs_en\u002Fen\u002Fdocs\u002Fconfiguration\u002Fpresets.md","Feature presets",{"type":7,"value":8,"toc":192},"minimark",[9,14,58,62,66,69,73,87,188],[10,11,13],"h2",{"id":12},"supported-presets","Supported presets",[15,16,17,30],"table",{},[18,19,20],"thead",{},[21,22,23,27],"tr",{},[24,25,26],"th",{},"Preset",[24,28,29],{},"Features",[31,32,33,42,50],"tbody",{},[21,34,35,39],{},[36,37,38],"td",{},"simple",[36,40,41],{},"Text formatting, compact toolbar; no source modes, images, tables, fullscreen, tool menus, plugins or status bar",[21,43,44,47],{},[36,45,46],{},"base",[36,48,49],{},"All visual tools, images, tables, HTML, fullscreen and tool menus; compact status\u002Ftable controls; no Markdown\u002FCSS panel or plugins",[21,51,52,55],{},[36,53,54],{},"pro",[36,56,57],{},"All visual tools, HTML\u002FMarkdown\u002FCSS, plugins, tool menus and a comfortable status bar",[59,60,61],"p",{},"All three presets are included in Community. The library defaults to pro; the builder starts with base. The six feature categories are Images, Tables, HTML, CSS, Markdown and Plugins. CSS depends on HTML. Fullscreen is a selectable toolbar tool.",[10,63,65],{"id":64},"toolbar-defaults","Toolbar defaults",[59,67,68],{},"The site's demos now use the builder's initial tool order and separators. Tools stay individually selectable; only overflow moves them into the *** menu. Tables expose their contextual controls when active. Presets do not change the document schema or produce differently sized builds.",[10,70,72],{"id":71},"validate-configuration","Validate configuration",[59,74,75,76,81,82,86],{},"Use features to disable optional tools within the preset's limits. Invalid or unsupported configurations throw TypeError. The old min\u002Fmid\u002Fmax values are rejected. ",[77,78,80],"a",{"href":79},"\u002Fen\u002Fdocs\u002Fconfiguration\u002Ftoolbar","Toolbar",", ",[77,83,85],{"href":84},"\u002Fen\u002Fbuilder","builder",".",[88,89,94],"pre",{"className":90,"code":91,"language":92,"meta":93,"style":93},"language-ts shiki shiki-themes github-dark","const editor = new ViText('#editor', {\n  preset: 'base',\n  features: { images: false },\n  toolbar: ['bold', 'italic', 'link', 'bulletList']\n});\n","ts","",[95,96,97,131,143,155,182],"code",{"__ignoreMap":93},[98,99,102,106,110,113,116,120,124,128],"span",{"class":100,"line":101},"line",1,[98,103,105],{"class":104},"snl16","const",[98,107,109],{"class":108},"sDLfK"," editor",[98,111,112],{"class":104}," =",[98,114,115],{"class":104}," new",[98,117,119],{"class":118},"svObZ"," ViText",[98,121,123],{"class":122},"s95oV","(",[98,125,127],{"class":126},"sU2Wk","'#editor'",[98,129,130],{"class":122},", {\n",[98,132,134,137,140],{"class":100,"line":133},2,[98,135,136],{"class":122},"  preset: ",[98,138,139],{"class":126},"'base'",[98,141,142],{"class":122},",\n",[98,144,146,149,152],{"class":100,"line":145},3,[98,147,148],{"class":122},"  features: { images: ",[98,150,151],{"class":108},"false",[98,153,154],{"class":122}," },\n",[98,156,158,161,164,166,169,171,174,176,179],{"class":100,"line":157},4,[98,159,160],{"class":122},"  toolbar: [",[98,162,163],{"class":126},"'bold'",[98,165,81],{"class":122},[98,167,168],{"class":126},"'italic'",[98,170,81],{"class":122},[98,172,173],{"class":126},"'link'",[98,175,81],{"class":122},[98,177,178],{"class":126},"'bulletList'",[98,180,181],{"class":122},"]\n",[98,183,185],{"class":100,"line":184},5,[98,186,187],{"class":122},"});\n",[189,190,191],"style",{},"html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}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);}",{"title":93,"searchDepth":133,"depth":133,"links":193},[194,195,196],{"id":12,"depth":133,"text":13},{"id":64,"depth":133,"text":65},{"id":71,"depth":133,"text":72},"Simple, Base and Pro are three interfaces of one free Community library.","md",{"group":200,"order":201},"Configuration",10,true,"\u002Fen\u002Fdocs\u002Fconfiguration\u002Fpresets",{"title":5,"description":197},"en\u002Fdocs\u002Fconfiguration\u002Fpresets","AnUG6AnOWALP-gcwVEPtD1m5ZJjrvBBZEJf8GNt9PbE",1792670389485]