Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<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>