"use strict";(self["webpackChunkscui"]=self["webpackChunkscui"]||[]).push([[3038],{9060:function(e,l,t){t.r(l),t.d(l,{default:function(){return h}});var a=t(66252);const n=(0,a.Uk)("绑定的内容"),o=(0,a.Uk)("占位符"),i=(0,a.Uk)("编辑器高度，默认300"),r=(0,a.Uk)("禁用编辑器 Boolean"),d=(0,a.Uk)("插入自定义模板 Array"),u=(0,a.Uk)('自定义工具栏，使用"|"竖杠分割，使用"\\"斜杠分组，默认：\'undo redo | forecolor backcolor bold italic underline strikethrough link | blocks fontfamily fontsize | \\ alignleft aligncenter alignright alignjustify | outdent indent | numlist bullist | pagebreak | \\ image media table template preview | code selectall\'');function s(e,l,t,s,m,c){const p=(0,a.up)("sc-editor"),f=(0,a.up)("el-card"),h=(0,a.up)("el-descriptions-item"),b=(0,a.up)("el-descriptions"),w=(0,a.up)("el-main");return(0,a.wg)(),(0,a.j4)(w,null,{default:(0,a.w5)((()=>[(0,a.Wm)(f,{shadow:"never"},{default:(0,a.w5)((()=>[(0,a.Wm)(p,{modelValue:m.html,"onUpdate:modelValue":l[0]||(l[0]=e=>m.html=e),placeholder:"请输入",templates:m.templates,height:400},null,8,["modelValue","templates"])])),_:1}),(0,a.Wm)(f,{shadow:"never",header:"配置",style:{"margin-top":"20px"}},{default:(0,a.w5)((()=>[(0,a.Wm)(b,{border:"",column:1},{default:(0,a.w5)((()=>[(0,a.Wm)(h,{label:"v-model"},{default:(0,a.w5)((()=>[n])),_:1}),(0,a.Wm)(h,{label:"placeholder"},{default:(0,a.w5)((()=>[o])),_:1}),(0,a.Wm)(h,{label:"height"},{default:(0,a.w5)((()=>[i])),_:1}),(0,a.Wm)(h,{label:"disabled"},{default:(0,a.w5)((()=>[r])),_:1}),(0,a.Wm)(h,{label:"templates"},{default:(0,a.w5)((()=>[d])),_:1}),(0,a.Wm)(h,{label:"toolbar"},{default:(0,a.w5)((()=>[u])),_:1})])),_:1})])),_:1})])),_:1})}const m=(0,a.RC)((()=>Promise.all([t.e(8285),t.e(6054),t.e(5003)]).then(t.bind(t,5003))));var c={name:"editor",components:{scEditor:m},data(){return{html:"",templates:[{title:"自定义HTML模板",description:"",content:"<strong>演示模板</strong>"},{title:"列表",description:"",content:"<ol><li>演示列表1</li><li>演示列表2</li></ol>"}]}}},p=t(83744);const f=(0,p.Z)(c,[["render",s]]);var h=f}}]);