vue-html5-editor icon indicating copy to clipboard operation
vue-html5-editor copied to clipboard

请问支持vue2.0么?

Open cloudus opened this issue 8 years ago • 16 comments

请问支持vue2.0么?

cloudus avatar Feb 06 '17 04:02 cloudus

会尽快支持的

PeakTai avatar Feb 08 '17 02:02 PeakTai

你好,兼容vue2需要做哪些改动吗?

holdno avatar Feb 16 '17 16:02 holdno

暂时有个测试版,程序整个重构了下,使用起来没有太多改变,可以看下1.x分支。

PeakTai avatar Feb 20 '17 07:02 PeakTai

现在支持vue2了吗

JSupot avatar Feb 21 '17 09:02 JSupot

支持,还在测试中

PeakTai avatar Feb 22 '17 02:02 PeakTai

你好,可以出个支持vue2.0的么

cshhs avatar Feb 24 '17 09:02 cshhs

1.0版本(支持vue2.0)已经上传到npm,现在可以使用了。

PeakTai avatar Mar 09 '17 10:03 PeakTai

局部组件的话,具体使用方法是如何,按照说明操作的话,工具栏点击无效,还报错了You may have an infinite update loop in a component render function.

SummyGitHub avatar Mar 12 '17 10:03 SummyGitHub

@SummyGitHub 有代码吗?贴出来看下

PeakTai avatar Mar 13 '17 02:03 PeakTai

@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 avatar Mar 13 '17 06:03 SummyGitHub

@SummyGitHub 我用的提供的代码测试了一下,没发现问题,能提供你使用的版本和完整代码吗?

PeakTai avatar Mar 14 '17 10:03 PeakTai

@PeakTai vue : 2.1.0

完整代码你指的是整个项目吗?

SummyGitHub avatar Mar 14 '17 12:03 SummyGitHub

@SummyGitHub 我在Vue2.1.10加Vue-html5-editor 1.0.2下测试没有问题,你可以在jsfiddle或者其它演示平台上写个demo来重现吗?

PeakTai avatar Mar 15 '17 02:03 PeakTai

我也是一样的情况

jaweii avatar Mar 27 '17 06:03 jaweii

Same problem here. Vue 2.2.6 + Vue-html5-editor 1.1.1

larryu avatar Apr 28 '17 03:04 larryu

same issue with vue 2.3.3 + vue-html5-edit 1.1.1

newnewcoder avatar Jun 26 '18 08:06 newnewcoder