原文网址:https://www.youyong.top/article/1158eb397d143
umeditor报错的代码是:me._bakRange && nSel.addRange(me._bakRange)。
1》错误信息:Discontiguous selection is not supported
2》有时还有waring: The behavior that Selection.addRange() merges existing Range and the specified Range is deprecated and will be removed in M58, around April 2017. See https://www.chromestatus.com/features/6680566019653632 for more details.
下面说说怎么做才能去掉这个错误: