Skip to content

Instantly share code, notes, and snippets.

@carlosipe
Created May 24, 2017 19:03
Show Gist options
  • Save carlosipe/f45d7c6700b0c18783effb1e1bb99582 to your computer and use it in GitHub Desktop.
Save carlosipe/f45d7c6700b0c18783effb1e1bb99582 to your computer and use it in GitHub Desktop.
var all = document.getElementsByTagName("*");
for (var i=0, max=all.length; i < max; i++) {
(all[i]).contentEditable = "true";
}
@carlosipe
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment