这个错误是什么在IE10/11的意思是:无法完成,由于操作错误800a025e
Error: Could not complete the operation due to error 800a025e.
而且我会怎么调试呢?
它说,它的这一行:
this.nativeSelection.removeAllRanges();
https://code.google.com/p/rangy/source/browse/trunk/src/js/core/wrappedselection.js#416
看到它在这里的行动:http://panmedia.github.io/raptor-editor/tests/cases/selection/selection-expand.html
http://stackoverflow.com/questions/3169786/clear-text-selection-with-javascript – Ian 2013-04-23 04:45:34
一个例子会有所帮助。 – 2013-04-23 08:53:58
我打电话'removeAllRanges()'在IE9中,虽然偶尔也时得到完全相同的错误。 @TimDown我想用你瘦长库,看看错误消失的......但首先我想我会尝试http://stackoverflow.com/a/3171348/227299 – 2014-02-28 19:21:56