3 ms·
I do something similar in a bookmarklet to give myself a nice looking notepad. It's essentially a padded content editable div, with a prepopulated H1. This lets
by ehnto 8y ago
I do something similar in a bookmarklet to give myself a nice looking notepad. It's essentially a padded content editable div, with a prepopulated H1. This lets me print it out or save it as a document when needed. Which is never.
- carapace 8y agoOh yeah! data:text/html,<html contenteditable></html> That's one of my favorite "stupid HTML tricks". I wonder who first figured it out? I can't find the original blog post (if it even was) and now it's a known thing: https://news.ycombinator.com/item?id=6005295 https://news.ycombinator.com/item?id=6005295 https://www.simonewebdesign.it/how-to-make-browser-editor-with-html5-contenteditable/ https://www.simonewebdesign.it/how-to-make-browser-editor-wi... etc...