Initing WrappedSelection falls down during 'Test whether the native selection is capable of supporting multiple ranges.'. Reason is sel.addRange(r1) that acquires error when executed in IE11. Debug showed that error occurred only after setting:
r1.setStart(textNode, 0);
r2.setEnd(textNode, 3);
r2.setStart(textNode, 2);
I wonder what is wrong here.
Initing WrappedSelection falls down during 'Test whether the native selection is capable of supporting multiple ranges.'. Reason is sel.addRange(r1) that acquires error when executed in IE11. Debug showed that error occurred only after setting:
I wonder what is wrong here.