Open luizhenriquerdias opened 5 years ago
There is no this feature I guess
This is what I use.
insertText(text) {
var range, sel = window.getSelection();
if (sel.rangeCount) {
range = sel.getRangeAt(0);
range.insertNode(document.createTextNode(text));
}
},
Hey guys! Is there a way to get the cursor position? Thanks!