1517028.html (663B)
1 <!-- COMMENT --> 2 abc 3 <head> 4 <script> 5 document.addEventListener('DOMContentLoaded', () => { 6 // For emulating the traditional behavior, collapse Selection to end of the 7 // <em> which is the deepest last child of the <body> (at the comment node). 8 getSelection().collapse( 9 document.querySelector("em[contenteditable]"), 10 document.querySelector("em[contenteditable]").childNodes.length 11 ); 12 document.execCommand("justifyLeft"); 13 document.designMode = 'on'; 14 document.execCommand("insertParagraph"); 15 }); 16 </script> 17 </head> 18 <h4> 19 <em contenteditable> 20 <big> 21 <button autofocus formnovalidate formtarget=""> 22 </button> 23 <!-- COMMENT --></big></em></h4></body>