vue-ueditor
vue-ueditor copied to clipboard
a wrapper of UEditor for vue 2.x
文件:/src/components/UEditor.vue ```javascript ``` 使用document.getElementById(this.randomId)获取为null。 经测试发现,需要script外面套一层div。 目前暂时退回2.6.10版本
在electron-vue 项目中使用出现 Uncaught SyntaxError: Unexpected identifier 这个要怎么解决呢? 或者说有electron-vue+vue-ueditor的实例吗?
ueditor.all.js:1 Uncaught SyntaxError: Unexpected token < ueditor.config.js:1 Uncaught SyntaxError: Unexpected token < vue.runtime.esm.js?6e6d:619 [Vue warn]: Error in nextTick: "TypeError: Cannot read property 'getEditor' of undefined"
那这个后台要怎么写啊
Error in nextTick: "TypeError: window.UE.getEditor is not a function"
Module build failed: Error: Couldn't find preset "state-2" relative to directory
有一个编辑文章的功能,当我获取到文章相关的数据的时候,调用setContent方法文章内容不显示 代码: `data(){return ueditorObj:{}} editorReady(editorInstance){ const _this = this; _this.ueditorObj = editorInstance; }, getData(res){ _this.ueditorObj.setContent(res.body) } ` res.body是已经有数据的
