25 points · by catchmeifyoucan · 6y ago · 6 comments
document.querySelector("html").contentEditable = true;
?For example, let's say your making mockups and want to change some text. This lets you do that really quickly.
`document.designMode` is a web standard and is supported by Firefox, Safari, IE, etc.
https://developer.mozilla.org/en-US/docs/Web/API/Document/de...