6 window
.onload=function(){
7 let s
=window
.getSelection();
8 let r
=document
.createRange();
9 r
.selectNode(document
.getElementById('b'));
11 try{window
.getSelection().modify('extend','forward','word')}catch(e
){}
12 let o
=document
.getElementById('a');
13 o
.parentNode
.replaceChild(document
.createElement('col'), o
);
17 <template id='a' contenteditable='true'
></template>
18 <header id='b'
></header>