3 testRunner
.dumpEditingCallbacks();
5 <p>This tests inserting a paragraph separator into a selection that spans multiple paragraphs. 'ar' should be on the line after 'f' and the caret should be just before the 'a'.
</p>
6 <div id=
"test" contenteditable=
"true"><div>foo
</div><div>bar
</div></div>
9 var s
= window
.getSelection();
10 var e
= document
.getElementById("test");
13 s
.modify("move", "forward", "character");
14 s
.modify("extend", "forward", "line");
16 document
.execCommand("InsertParagraph");