/*!
 *  build: vue-admin-better 
 *  vue-admin-beautiful.com 
 *  https://gitee.com/chu1204505056/vue-admin-better 
 *  time: 2022-2-26 00:26:40
 */
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0bc3e699"],{b885:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"markdown-editor-container"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{xs:24,sm:24,md:24,lg:12,xl:12}},[a("vab-markdown-editor",{ref:"mde",on:{"show-html":e.handleShowHtml},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}}),a("el-button",{on:{click:e.handleAddText}},[e._v("增加文本")]),a("el-button",{on:{click:e.handleAddImg}},[e._v("增加图片")])],1),a("el-col",{attrs:{xs:24,sm:24,md:24,lg:12,xl:12}},[a("el-card",{attrs:{shadow:"hover"}},[a("div",{attrs:{slot:"header"},slot:"header"},[a("span",[e._v("markdown转换html实时演示区域")])]),a("div",{domProps:{innerHTML:e._s(e.html)}})])],1)],1)],1)},d=[],l=a("cf88"),o={name:"MarkdownEditor",components:{VabMarkdownEditor:l["default"]},data:function(){return{value:"# vue-admin-beautiful",html:'<h1 id="vue-admin-beautiful">vue-admin-beautiful</h1>'}},methods:{handleAddText:function(){this.$refs.mde.add("\n### 新增加的内容")},handleAddImg:function(){this.$refs.mde.add("\n![](https://gitee.com/chu1204505056/image/raw/master/qq_group/vab-2.png)")},handleShowHtml:function(e){this.html=e}}},r=o,s=a("cba8"),u=Object(s["a"])(r,n,d,!1,null,null,null);t["default"]=u.exports},cf88:function(e,t,a){"use strict";a.r(t);var n=a("05eb"),d=a.n(n),l=(a("1d57"),d.a);t["default"]=l}}]);