mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
7 lines
212 B
HTML
7 lines
212 B
HTML
|
<body contenteditable=true>x y
|
||
|
<script>
|
||
|
document.body.firstChild.splitText(2).splitText(1).splitText(1);
|
||
|
getSelection().collapse(document.body, 1);
|
||
|
document.execCommand("forwardDelete", false, null);
|
||
|
</script>
|