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

在chrome57.0版本的模拟手机端中,setFontSize有bug,无法正确的修改fontsize,并报错

Open moker-monkey opened this issue 8 years ago • 1 comments

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:模块中。

moker-monkey avatar May 03 '17 10:05 moker-monkey

问题已解决。 在dist中的vue-html5-Editor文件中,代码美化后的第2449行附近 this.range.startOffset===1 改为 this.range.startOffset >0

moker-monkey avatar May 04 '17 08:05 moker-monkey