3 testRunner
.dumpEditingCallbacks();
5 <div id=
"test" contenteditable=
"true"></div>
8 var s
= window
.getSelection();
9 s
.collapse(document
.getElementById("test"), 0);
11 document
.execCommand("InsertText", false, "sugare");
12 document
.execCommand("InsertText", false, " ");
13 document
.execCommand("InsertText", false, "sugari");
14 document
.execCommand("InsertText", false, " ");
15 document
.execCommand("InsertText", false, "sugarm");
16 document
.execCommand("InsertText", false, " ");
17 document
.execCommand("Undo");