blob: 585cd17bb82d8b763168cb14b52fe7d18ec457aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<script>
addEventListener("DOMContentLoaded", () => {
document.querySelector("dd[contenteditable]").focus();
document.querySelector("dd[contenteditable]").addEventListener("DOMNodeRemoved", () => {
document.querySelector("h6").textContent = "";
});
document.execCommand("selectAll");
document.execCommand("delete");
})
</script>
<h6>
<dd contenteditable>
|