31 lines
492 B
HTML
31 lines
492 B
HTML
<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<br>in the affairs of men</div>
|
|
<script>
|
|
runEditingTest();
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|