OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <script> | |
5 function run() { | |
6 var element = (document.getElementById("editableContent")).firstChild; | |
7 getSelection().collapse(element, element.length); | |
8 } | |
9 </script> | |
10 </head> | |
11 <body style = "font: 30px;" onload="run();"> | |
12 <!-- We want to test block cursor appearance at the end of lines that aren't the end of the editable element. --> | |
13 <div id="editableContent" style="direction: rtl;" contenteditable="true">&#x 05e9;דןABC<br>ABC</div> | |
14 </body> | |
15 </html> | |
OLD | NEW |