1import{Q as y}from"./vue-quill-30scmMbP.js";import{w as h,r as x,B as w,b as C}from"./naive-ui-crIqhEkg.js";import{k as T,r as p,e as H,O as q,P as B,Q as E,a2 as t,a3 as o,j as a,K as L}from"./vue-DfeAi4NN.js";import"./lodash-es-Wid6WkHk.js";const M={class:"n-layout-page-header"},z=T({__name:"vue-quill",setup(N){const n=p(),c=p("<h4>Naive Ui Admin æ¯ä¸ä¸ªåºäº vue3,vite2,TypeScript çä¸åå°è§£å³æ¹æ¡</h4>"),s=p("<h4>Naive Ui Admin æ¯ä¸ä¸ªåºäº vue3,vite2,TypeScript çä¸åå°è§£å³æ¹æ¡</h4>"),m=H({modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["image"]]},theme:"snow",placeholder:"è¾å
¥æ¨å欢çå
容å§ï¼"});function f(){console.log("Quillåå¤å¥½äº")}function _(){s.value=i()}function v(){const l=i()+"æ°å¢å çå
容";n.value.setHTML(l)}function g(){const l=i()+'<img style="width:100px" src="https://www.baidu.com/img/flexible/logo/pc/result.png"/>';n.value.setHTML(l)}function i(){return n.value.getHTML()}return(l,e)=>{const r=h,u=w,b=x,k=C;return B(),q("div",null,[E("div",M,[t(r,{bordered:!1,title:"坿æ¬"},{default:o(()=>[...e[2]||(e[2]=[a(" 坿æ¬ï¼ç¨äºå±ç¤ºå¾æä¿¡æ¯ï¼æ¯å¦åå详æ
ï¼æç« è¯¦æ
ç... ",-1)])]),_:1})]),t(r,{bordered:!1,class:"mt-4 proCard"},{footer:o(()=>[t(b,null,{default:o(()=>[t(u,{onClick:v},{default:o(()=>[...e[3]||(e[3]=[a("å¢å ææ¬",-1)])]),_:1}),t(u,{onClick:g},{default:o(()=>[...e[4]||(e[4]=[a("å¢å å¾ç",-1)])]),_:1}),t(u,{onClick:_},{default:o(()=>[...e[5]||(e[5]=[a("è·åHTML",-1)])]),_:1})]),_:1})]),default:o(()=>[t(L(y),{ref_key:"quillEditor",ref:n,options:m,content:c.value,"onUpdate:content":e[0]||(e[0]=d=>c.value=d),style:{height:"350px"},onReady:f,class:"quillEditor"},null,8,["options","content"])]),_:1}),t(r,{bordered:!1,class:"mt-4 proCard",title:"HTML å
容"},{default:o(()=>[t(k,{value:s.value,"onUpdate:value":e[1]||(e[1]=d=>s.value=d),type:"textarea",placeholder:"html",autosize:{minRows:3,maxRows:6}},null,8,["value"])]),_:1})])}}});export{z as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.