Skip to content

Instantly share code, notes, and snippets.

@nashingofteeth
Last active October 13, 2015 16:07
Show Gist options
  • Save nashingofteeth/4220888 to your computer and use it in GitHub Desktop.
Save nashingofteeth/4220888 to your computer and use it in GitHub Desktop.
simple html notepad
<body contenteditable="true"
onload="document.querySelector('body').innerHTML = window.localStorage.getItem('save');"
onkeyup="window.localStorage.setItem('save', document.querySelector('body').innerHTML);"
style="font-size: 21px; width: 400px; margin: 70px auto auto auto;">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment