window.addEventListener("DOMContentLoaded",(d=>{document.body.contentEditable=!0})); const t=document.querySelector(".content");t.addEventListener("dblclick",(()=>{"false"===t.getAttribute("contenteditable")?t.setAttribute("contentEditable","true"):t.setAttribute("contentEditable","false")}));