mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
21 lines
433 B
HTML
21 lines
433 B
HTML
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<script type="text/javascript">
|
||
|
<![CDATA[
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
document.body.setAttribute("contenteditable", "true");
|
||
|
document.execCommand("selectAll", false, null);
|
||
|
document.execCommand("inserthtml", false, "<span><div><\/div><\/span>");
|
||
|
document.execCommand("undo", false, null);
|
||
|
}
|
||
|
|
||
|
]]>
|
||
|
</script>
|
||
|
</head>
|
||
|
|
||
|
<body onload="boom();"><textarea><span/></textarea></body>
|
||
|
|
||
|
</html>
|