[{"data":1,"prerenderedAt":291},["ShallowReactive",2],{"docs:\u002Fen\u002Fdocs\u002Freference\u002Foptions":3},{"id":4,"title":5,"body":6,"description":281,"extension":282,"meta":283,"navigation":286,"path":287,"seo":288,"stem":289,"__hash__":290},"docs_en\u002Fen\u002Fdocs\u002Freference\u002Foptions.md","ViText options",{"type":7,"value":8,"toc":275},"minimark",[9,14,22,132,136,261],[10,11,13],"h2",{"id":12},"document-and-callbacks","Document and callbacks",[15,16,17,21],"p",{},[18,19,20],"code",{},"new ViText(target, options?)"," accepts a selector or HTMLElement.",[23,24,25,41],"table",{},[26,27,28],"thead",{},[29,30,31,35,38],"tr",{},[32,33,34],"th",{},"Option",[32,36,37],{},"Type\u002Fdefault",[32,39,40],{},"Contract",[42,43,44,56,67,78,89,100,111,122],"tbody",{},[29,45,46,50,53],{},[47,48,49],"td",{},"content",[47,51,52],{},"string\u002FDocumentNode; empty document",[47,54,55],{},"Initial HTML\u002FJSON\u002FMarkdown",[29,57,58,61,64],{},[47,59,60],{},"contentType",[47,62,63],{},"html\u002Fmarkdown\u002Fjson; html for string",[47,65,66],{},"Objects identify structured JSON",[29,68,69,72,75],{},[47,70,71],{},"css",[47,73,74],{},"string; empty",[47,76,77],{},"Separate initial stylesheet, asynchronous",[29,79,80,83,86],{},[47,81,82],{},"label",[47,84,85],{},"string; Document",[47,87,88],{},"Accessible document name",[29,90,91,94,97],{},[47,92,93],{},"onChange",[47,95,96],{},"ChangeEvent callback",[47,98,99],{},"Applied document change",[29,101,102,105,108],{},[47,103,104],{},"markdownPaste",[47,106,107],{},"boolean; enabled with Markdown support",[47,109,110],{},"Convert pasted plain Markdown text",[29,112,113,116,119],{},[47,114,115],{},"language",[47,117,118],{},"ru\u002Fen; ru",[47,120,121],{},"Editor UI language",[29,123,124,127,129],{},[47,125,126],{},"markdownDraft",[47,128,74],{},[47,130,131],{},"Initial Markdown draft, checked when opened",[10,133,135],{"id":134},"interface-and-resources","Interface and resources",[23,137,138,148],{},[26,139,140],{},[29,141,142,144,146],{},[32,143,34],{},[32,145,37],{},[32,147,40],{},[42,149,150,161,176,190,201,215,226,240,251],{},[29,151,152,155,158],{},[47,153,154],{},"preset",[47,156,157],{},"simple\u002Fbase\u002Fpro; pro",[47,159,160],{},"Upper limit of available UI features",[29,162,163,166,173],{},[47,164,165],{},"toolbar",[47,167,168,169,172],{},"readonly ToolbarItem",[170,171],"span",{},"; preset default",[47,174,175],{},"Subset with automatic library groups",[29,177,178,181,187],{},[47,179,180],{},"toolbarLayout",[47,182,183,184,186],{},"readonly ToolbarLayoutItem",[170,185],{},"; absent",[47,188,189],{},"Explicit order, separators, spacer and menus",[29,191,192,195,198],{},[47,193,194],{},"features",[47,196,197],{},"Partial\u003CEditorFeatures>; preset defaults",[47,199,200],{},"html\u002Fmarkdown\u002Fcss\u002Ffullscreen\u002Ftables\u002Fimages\u002Fplugins",[29,202,203,206,212],{},[47,204,205],{},"plugins",[47,207,208,209,211],{},"readonly ViTextPlugin",[170,210],{},"; empty",[47,213,214],{},"API 1 extensions, when enabled",[29,216,217,220,223],{},[47,218,219],{},"uploadImage",[47,221,222],{},"File + AbortSignal callback; absent",[47,224,225],{},"Application-owned upload, otherwise URL insertion",[29,227,228,231,237],{},[47,229,230],{},"onToolbarOverflow",[47,232,233,234,236],{},"ToolbarItem",[170,235],{}," callback; absent",[47,238,239],{},"Tools moved to overflow",[29,241,242,245,248],{},[47,243,244],{},"sourceModuleURL",[47,246,247],{},"string; alongside build",[47,249,250],{},"Trusted HTML\u002FCSS UI module",[29,252,253,256,258],{},[47,254,255],{},"codecsModuleURL",[47,257,247],{},[47,259,260],{},"Trusted Markdown\u002FCSS engines",[15,262,263,264,269,270,274],{},"Unsupported features, duplicate tools, nested menus or more than one spacer throw TypeError. CSS requires HTML. Failed plugin installation releases already installed resources. HTML\u002FJSON without CSS apply immediately; await whenReady for initial Markdown\u002FCSS and whenSourceReady for source controls. ",[265,266,268],"a",{"href":267},"\u002Fen\u002Fdocs\u002Fconfiguration\u002Fpresets","Presets",", ",[265,271,273],{"href":272},"\u002Fen\u002Fdocs\u002Freference\u002Fmethods","methods",".",{"title":276,"searchDepth":277,"depth":277,"links":278},"",2,[279,280],{"id":12,"depth":277,"text":13},{"id":134,"depth":277,"text":135},"Constructor parameters, defaults and configuration validation.","md",{"group":284,"order":285},"API reference",40,true,"\u002Fen\u002Fdocs\u002Freference\u002Foptions",{"title":5,"description":281},"en\u002Fdocs\u002Freference\u002Foptions","Sbz9IRghCMgBYZpQQbIshQ3lvsKjqA3SnZiUgjP9OW0",1792670389606]