blob: fa322420cb3686b7d7ccb1b49f910aa5e409a72b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<html>
<head>
<script type="text/javascript">
function boom()
{
document.addEventListener("DOMNodeInserted", x);
function x()
{
document.removeEventListener("DOMNodeInserted", x);
document.execCommand("insertParagraph", false, "");
}
document.execCommand("insertorderedlist", false, "");
}
</script>
</head>
<body contenteditable="true" onload="boom()"></body>
</html>
|