mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-13 23:17:57 +00:00
19 lines
375 B
HTML
19 lines
375 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
document.getElementById("i").focus();
|
||
|
document.documentElement.contentEditable = "true";
|
||
|
document.execCommand("inserthtml", false, "<table>");
|
||
|
document.execCommand("indent", false, null);
|
||
|
document.execCommand("delete", false, null);
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="boom();"><input id="i"></body>
|
||
|
</html>
|