blob: 4918b24a7352b03ba3843a07be0f6ad359ea40c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<html>
<head>
<style>
.editing {
font-size: 24px;
width: 600px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
extendSelectionForwardByLineCommand();
deleteCommand();
}
</script>
<title>Editing Test</title>
</head>
<body contenteditable id="root">
<div id="test" class="editing">There is a tide</div><div class="editing">in the affairs of men</div>
<script>
runEditingTest();
</script>
</body>
</html>
|