зеркало из https://github.com/mozilla/gecko-dev.git
17 строки
402 B
HTML
17 строки
402 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
onload = function() {
|
|
var el;
|
|
while (el = document.querySelector("br")) {
|
|
el.parentNode.removeChild(el);
|
|
}
|
|
focus();
|
|
document.body.focus();
|
|
getSelection().collapse(document.body.firstChild, 0);
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body style="white-space:pre-wrap;" contenteditable></body></html>
|