mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 17:16:12 +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>
|