7.获取的内容数据中视频由浏览器无法识别的标签包裹,所以需要对其进行替换,使其在网页中正常显示。 8.初始化编辑器实例必须通过id获取标签,但是可以单独将配置对象赋值给config变量,初始化多个编辑器时将config传进去就可以实现修改一个配置影响多个编辑器实例。 9.字号支持数字大小 在配置中添加fontSize,最小12px 10...
this.editor.setData(this.itemValue) this.textValue = this.getText() }, 木易楊@: getText () { if (!this.itemValue) { return ''' } if (this.editor.document) { try { return this.editor.document.getBody().getText() } catch (e) { console.info(e) } } let html = this.itemValue ...