vue-wangeditor
vue-wangeditor copied to clipboard
提两个建议
1.调入组件时v-model 那边少个冒号
2.怎么调用editor : this.$ref.editor 调用 要不新手不知所措
上面这位好像说错了点东西,我也提出一下问题,我发现v-model不能绑定数据,只能设置初始数据,这不太好,有待改善,而要获得数据需要在组件调用时加 ref="editor", 再使用this.$refs.editor.getHtml()方法取值,这样其实可以解决问题,但不是很友好,明明大家都在用Vue的v-model 希望能尽快改善一下