Created
June 24, 2011 05:39
-
-
Save ryanseddon/1044282 to your computer and use it in GitHub Desktop.
Worlds smallest WYSIWYG with live preview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Paste it in your address bar --> | |
data:text/html,<pre onkeyup="(function(d,t){d[t]('iframe')[0].contentDocument.body.innerHTML = d[t]('pre')[0].textContent;})(document,'getElementsByTagName')" style="width:100%;height:48%;white-space:pre-wrap;overflow:auto;" contenteditable></pre><iframe style="width:100%;height:48%"> |
yu
sa
Great work well.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
haha nice one.