зеркало из https://github.com/mozilla/gecko-dev.git
16 строки
448 B
HTML
16 строки
448 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
window.addEventListener('load', () => {
|
|
document.documentElement.contentEditable = true
|
|
document.execCommand('selectAll', false, null)
|
|
document.addEventListener('DOMNodeRemoved', async (e) => {
|
|
e.currentTarget.writeln()
|
|
}, {})
|
|
document.execCommand('insertLineBreak', false, null)
|
|
})
|
|
</script>
|
|
</head>
|
|
</html>
|