0.0.7 • Published 4 years ago
vuecli3-multipage2 v0.0.7
vue-editor
安装
npm install vue-editor
引用
import vueEditor from "../../components/editor.vue";
局部注册
components: {
vueEditor: vueEditor
}
标签
<vueEditor ref="editor"></vueEditor>
上传图片服务器参数
this.$refs.editor.uploadImgServer =
方法
this.$refs.editor.getHtml()
this.$refs.editor.setHtml()
0.0.7
4 years ago