How can I remove the window.getSelection().anchorNode from a range?
I have tried the following…
window.getSelection().getRangeAt(0).detach(window.getSelection().anchorNode);
…and since the method is poorly documented…
window.getSelection().getRangeAt(0).detach.window.getSelection().anchorNode;
While this does not resolve the problem at hand (which I have not mentioned) this does seem to remove the node from the range…