Browser Text Editor built-in

Non release banter
nanZor
Shogun
Shogun
Posts: 381
Joined: 09 Apr 2019, 03:27
Distribution: Porteus 5.01 x86-64 LXQT

Browser Text Editor built-in

Post#1 by nanZor » 11 May 2019, 22:43

Just a note on something I find handier than bringing up an editor like mousepad, or other notetaker / post it applications if I have a browser available:

Basically one just brings up a big editable content box in the url bar:

Code: Select all

data:text/html, <html contenteditable>

It's blank with no cursor. Just click to get your cursor and start typing.

You can easily increase or decrease the font size by the usual scaling of the browser (ctrl + / - ) usually.

You can also

search (ctrl-f)
save file (ctrl-s)
open file (ctrl-o)

I usually save the url in my bookmarks, but then edit the properties or rename it something like "text editor"

There are more complex versions of this documented online, but I nearly have this one memorized. :)

Just watch for common mistakes, like colons and semicolons, forgetting the comma and the space ....

Handy.
That's a UNIX book - cool. -Garth

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Browser Text Editor built-in

Post#2 by Ed_P » 12 May 2019, 00:51

Interesting. :hmmm:
Ed

nanZor
Shogun
Shogun
Posts: 381
Joined: 09 Apr 2019, 03:27
Distribution: Porteus 5.01 x86-64 LXQT

Browser Text Editor built-in

Post#3 by nanZor » 12 May 2019, 19:58

It's my universal note-taker "goto" when I'm working on locked-down thin clients or whatever and don't feel like keeping a pad of paper with me.

It's also a very sneaky back-door to introduce the younger generation to the joys of html programming on a rainy day. :) Or javascript etc, regardless of hardware/os. The browsers do have to be somewhat modern, since old versions may not support the <contenteditable> flag in the url bar.

Along with this is the internal file-browser:

Code: Select all

file:///
or maybe directly to your user directory:

Code: Select all

file:///home/guest/
If they show an interest or aptitude, then I'll burn them a bootable stick of Porteus. :)
That's a UNIX book - cool. -Garth

Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Browser Text Editor built-in

Post#4 by Kulle » 22 May 2019, 12:43

Hi nanZor,
I save also the url https://speechnotes.co/de/ in my bookmarks.
Speak instead of typing!

You can choose
https://speechnotes.co/
https://speechnotes.co/fr/
https://speechnotes.co/de/

You can write Russian texts without Cyrillic keyboard:
https://speechnotes.co/ru/

Post Reply