Or, you know, you could just use Notepad as Notepad. Or a real text editor, or something like Simplenote.<p>Snark aside, this would be a more interesting post if the author gave some reason why this was a good idea. As far as I can tell, it's strictly worse than a text editor. I mean, it is an interesting hack, but the post doesn't frame it at all.
Actually you can do much more with this trick, I made one free tool called Writability - <a href="http://www.vcarrer.com/2013/01/writability-write-in-your-browser.html" rel="nofollow">http://www.vcarrer.com/2013/01/writability-write-in-your-bro...</a>
You can also just use a textarea:<p><pre><code> data:text/html,<textarea>
</code></pre>
A more polished version (100% width/height, nice margin/padding, auto focus):<p><pre><code> data:text/html,<html><head><title>Notepad</title><style>html,body{margin:0;padding:0;}textarea{padding:10px;font-family:Courier;font-size:16px;height:100%;width:100%;border:none;outline:none;}</style></head><body><textarea%20style="height:100%;width:100%;font-size:16px;padding:10px;"></textarea><script>document.getElementsByTagName('textarea')[0].focus()</script></body></html>
</code></pre>
This fixes the issue that cutting (Cmd/Ctr + x) doesn't work in Firefox with contenteditable.
If you want to get fancy, add a little bit of style. It goes a long way.<p><pre><code> data:text/html, <html contenteditable><style>body {color: #333; width: 960px; margin: 0 auto; display: block; height: 100%; font-size: 36px; padding: 20px;}</style></html></code></pre>
Oh, man this is amazing.<p>Ever since I first saw the aloha text editor I realised content-editable is going to have a massive impact - this was one that is totally obvious in hindsight but has completely floored me.<p>And it works in my iphone. Cannot actually <i>save</i> but still its nice to know.