vue 富文本编辑器 wangEditor 组件封装
安装
npm install wangeditor
新建 editor.vue 文件
写入如下内容
<template>
<div class="editor">
<!--动态绑定id, 否则不能在一个页面上使用多个-->
<div :id="uniqueId"></div>
</div>
</template>
<script>
import E from "wangeditor"
e.
原创
2021-10-26 16:09:14 ·
870 阅读 ·
1 评论