Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Oneline temporary text editor created by bookmarklet in modern web browsers
data:text/html, <title>TextEditor</title><textarea style="font-size: 1.5em; width: 100%; height: 100%; border: none; outline: none;background-color:powderblue;" autofocus />

"程序员 Jose Jesus Perez Aguinaga 在 CoderWall 分享了一个小技巧:在浏览器地址栏中输入一行代码:data:text/html, ,回车即可把浏览器变临时编辑器(需要浏览器支持 HTML5 属性 contenteditable)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment