import{_ as i}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{g as o,A as n,J as t,D as d,ae as c,P as p,O as v,c as u}from"./index-DOFLUERq.js";const b={class:"control editable"},_={class:"field-controls"},f={class:"text-editor-preview"},m={class:"editor-content"},h={class:"placeholder-text"},x=["innerHTML"],B={__name:"TextEditorControl",props:["df"],setup(e){const l=e,r=u(()=>l.df.default||"Enter rich text here...");return(s,a)=>(o(),n("div",b,[t("div",_,[d(s.$slots,"label",{},void 0,!0),d(s.$slots,"actions",{},void 0,!0)]),t("div",f,[a[0]||(a[0]=c('<div class="editor-toolbar" data-v-3e1720e0><div class="toolbar-group" data-v-3e1720e0><span class="toolbar-btn" title="Bold" data-v-3e1720e0>B</span><span class="toolbar-btn" title="Italic" data-v-3e1720e0>I</span><span class="toolbar-btn" title="Underline" data-v-3e1720e0>U</span></div><div class="toolbar-group" data-v-3e1720e0><span class="toolbar-btn" title="List" data-v-3e1720e0>≡</span><span class="toolbar-btn" title="Link" data-v-3e1720e0>🔗</span></div></div>',1)),t("div",m,[t("p",h,p(r.value),1)])]),e.df.description?(o(),n("div",{key:0,class:"mt-2 description",innerHTML:e.df.description},null,8,x)):v("",!0)]))}},E=i(B,[["__scopeId","data-v-3e1720e0"]]);export{E as default};
