-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
I follow the error to :
/* select all text in element: taken from http://stackoverflow.com/questions/6139107/programatically-select-text-in-a-contenteditable-html-element */
GraphCreator.prototype.selectElementContents = function(el) {
var range = document.createRange();
range.selectNodeContents(el);
var sel = window.getSelection();
sel.removeAllRanges();
sel.addRange(range);
};
sel.addRange gives unspecified error.
Have you noticed this? do you have any idea of what can be the issue?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels