Created
October 19, 2022 16:42
-
-
Save rmateu/478821145b208a5b5c611160014f5276 to your computer and use it in GitHub Desktop.
data:text/html, <html contenteditable> with some extra styling to make it easier to use. Just copy/paste the code in your browser and type away. Or make it a bookmarklet.
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
data:text/html;charset=utf-8,<title>TextEditor</title><style>body{background:#fbfbfb;color:#333;margin:0%50auto;width:100%}textarea{background:#fbfbfb;border:0;color:#333;font-family:Roboto;font-size:1rem;height:98%;line-height:1.4;margin:0%20auto;outline:0;padding:2rem;width:100%}button{background-color:#fbfbfb;border:1px%20#ccc%20solid;color:#999;cursor:pointer;float:right;margin:10px%200;padding:5px%2010px}@media%20(max-width:100%){body{width:100%;padding:0}textarea{padding:10px}button{float:none}}</style><body><button%20onclick="sM();%20return%20false">Draft%20this</button><textarea%20contenteditable%20id=TE%20spellcheck=false%20placeholder=Notes...%20autofocus></textarea><script>function%20sM(){var%20a="drafts://x-callback-url/create?tag=BrowserNotes&text="+escape(document.getElementById("TE").value);window.location.href=a};</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment