vue-html5-editor
vue-html5-editor copied to clipboard
请问支持vue2.0么?
请问支持vue2.0么?
会尽快支持的
你好,兼容vue2需要做哪些改动吗?
暂时有个测试版,程序整个重构了下,使用起来没有太多改变,可以看下1.x分支。
现在支持vue2了吗
支持,还在测试中
你好,可以出个支持vue2.0的么
1.0版本(支持vue2.0)已经上传到npm,现在可以使用了。
局部组件的话,具体使用方法是如何,按照说明操作的话,工具栏点击无效,还报错了You may have an infinite update loop in a component render function.
@SummyGitHub 有代码吗?贴出来看下
@PeakTai
.vue文件
<editor :content="content" :height="200" :z-index="100" :auto-height="true" :show-module-name="false" @change="updateData" ref="editor"></editor>
js引入
import VueHtml5Editor from 'vue-html5-editor' const editor = new VueHtml5Editor({ showModuleName: true, image: { sizeLimit: 512 * 1024, compress: true, width: 500, height: 500, quality: 80 }, visibleModules: [ "color", "font", "align", "list", "link", "unlink", "tabulation", "image", "hr", "eraser", "undo", "full-screen", "info", ], });
然后再在组件中引入:
components: { editor },
@SummyGitHub 我用的提供的代码测试了一下,没发现问题,能提供你使用的版本和完整代码吗?
@PeakTai vue : 2.1.0
完整代码你指的是整个项目吗?
@SummyGitHub 我在Vue2.1.10加Vue-html5-editor 1.0.2下测试没有问题,你可以在jsfiddle或者其它演示平台上写个demo来重现吗?
我也是一样的情况
Same problem here. Vue 2.2.6 + Vue-html5-editor 1.1.1
same issue with vue 2.3.3 + vue-html5-edit 1.1.1