11 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
15 function moveNSpacesAndType(n
) {
16 for (i
= 0; i
< n
; i
++) {
17 moveSelectionForwardByCharacterCommand();
19 for (i
= 0; i
< 3; i
++) {
20 typeCharacterCommand();
24 function editingTest() {
25 typeCharacterCommand();
26 moveNSpacesAndType(1);
27 moveNSpacesAndType(1);
28 moveNSpacesAndType(1);
29 moveNSpacesAndType(1);
34 <title>Editing Test
</title>
37 <div contenteditable
id=
"root" class=
"editing">
38 <span id=
"test"><img src=
"../resources/abe.png"><img src=
"../resources/abe.png"> <img src=
"../resources/abe.png"></span>