<template>
<ed-card title="富文本">
  <ed-rich-text v-model="dataValue" :toolbarConfig="toolbarConfig"></ed-rich-text>
</ed-card>
</template>

<script>
export default {
  name: "BaseRichText",
  data(){
    return {
      dataValue:`<p><img src="http://47.108.166.206:48080/admin-api/infra/file/5/get/easydata/biz/2023-11-27/ac1a7b0fcb154ec380ec228313050373.png?t=image" alt="" data-href="" style="width: 245.00px;height: 324.26px;"/><img src="http://47.108.166.206:48080/admin-api/infra/file/5/get/easydata/biz/2023-11-27/321c55bd9d2a4d89af8518ea29bb3f6d.JPG?t=image" alt="" data-href="" style="width: 200.00px;height: 322.90px;"/></p><div data-w-e-type="video" data-w-e-is-void>
<video poster="" controls="true" width="auto" height="auto"><source src="http://47.108.166.206:48080/admin-api/infra/file/5/get/easydata/biz/2023-11-27/f15359ecc2874b1193eb89bd67cbfebe.mp4?t=image" type="video/mp4"/></video>
</div><p><br></p>`,
      toolbarConfig: {}
    }
  },
  watch: {
    dataValue(n, o){
      console.log(n)
    }
  }
}
</script>

<style scoped>

</style>
