Need a quick text editor?

Just learned this trick from here. If you want to quickly get a text editor on any system, just type data:text/html, <html contenteditable> in your browser’s url bar.

Click the following link to get a bare text editor in your browser, and start typing! 😉

Open a text editor

document.getElementById(‘my_text_editor_link’).href = ‘data:text/html, ‘;

It’s pretty much like a rich-text editor, with the usual copy&paste. And in the end, you can even save the file as an html file.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s