"use strict";(self["webpackChunkmi_wifi_agent"]=self["webpackChunkmi_wifi_agent"]||[]).push([[9412],{2916:function(e,l,t){t.r(l),t.d(l,{default:function(){return s}});var a=t(641);function n(e,l,t,n,i,o){const r=(0,a.g2)("sc-editor"),d=(0,a.g2)("el-card"),s=(0,a.g2)("el-descriptions-item"),u=(0,a.g2)("el-descriptions"),c=(0,a.g2)("el-main");return(0,a.uX)(),(0,a.Wv)(c,null,{default:(0,a.k6)((()=>[(0,a.bF)(d,{shadow:"never"},{default:(0,a.k6)((()=>[(0,a.bF)(r,{modelValue:i.html,"onUpdate:modelValue":l[0]||(l[0]=e=>i.html=e),placeholder:"请输入",templates:i.templates,height:400},null,8,["modelValue","templates"])])),_:1}),(0,a.bF)(d,{shadow:"never",header:"配置",style:{"margin-top":"20px"}},{default:(0,a.k6)((()=>[(0,a.bF)(u,{border:"",column:1},{default:(0,a.k6)((()=>[(0,a.bF)(s,{label:"v-model"},{default:(0,a.k6)((()=>[(0,a.eW)("绑定的内容")])),_:1}),(0,a.bF)(s,{label:"placeholder"},{default:(0,a.k6)((()=>[(0,a.eW)("占位符")])),_:1}),(0,a.bF)(s,{label:"height"},{default:(0,a.k6)((()=>[(0,a.eW)("编辑器高度，默认300")])),_:1}),(0,a.bF)(s,{label:"disabled"},{default:(0,a.k6)((()=>[(0,a.eW)("禁用编辑器 Boolean")])),_:1}),(0,a.bF)(s,{label:"templates"},{default:(0,a.k6)((()=>[(0,a.eW)("插入自定义模板 Array")])),_:1}),(0,a.bF)(s,{label:"toolbar"},{default:(0,a.k6)((()=>[(0,a.eW)('自定义工具栏，使用"|"竖杠分割，使用"\\"斜杠分组，默认：\'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\'')])),_:1}),(0,a.bF)(s,{label:"options"},{default:(0,a.k6)((()=>[(0,a.eW)("支持tinymce的其他配置项")])),_:1})])),_:1})])),_:1})])),_:1})}const i=(0,a.$V)((()=>Promise.all([t.e(8774),t.e(6158),t.e(580)]).then(t.bind(t,8199))));var o={name:"editor",components:{scEditor:i},data(){return{html:"",templates:[{title:"自定义HTML模板",description:"",content:"<strong>演示模板</strong>"},{title:"列表",description:"",content:"<ol><li>演示列表1</li><li>演示列表2</li></ol>"}]}}},r=t(6262);const d=(0,r.A)(o,[["render",n]]);var s=d}}]);