vue-html5-editor
vue-html5-editor copied to clipboard
在chrome57.0版本的模拟手机端中,setFontSize有bug,无法正确的修改fontsize,并报错
Uncaught DOMException: Failed to execute 'setEnd' on 'Range': There is no child at offset 1. 锁定问题有可能在dist/vue-html5-editor.js 2436行的 case Command.FONT_SIZE:模块中。
问题已解决。 在dist中的vue-html5-Editor文件中,代码美化后的第2449行附近 this.range.startOffset===1 改为 this.range.startOffset >0