How to do same as backspace when using execCommand() with editable iframe?
-
11-11-2019 - |
题
I am using execCommand with javascript to insert text into editable iframes like this:
element.execCommand("insertHTML",false,"some text");
Anyone know how to insert that text instead of the first character to the left of the cursor? So the same effect as pressing a backspace before doing the above?
没有正确的解决方案
不隶属于 StackOverflow