Sponsored Content
The Lounge What is on Your Mind? Simple Autosave and Recovery for Forum WYSIWYG Editors Post 303029434 by Neo on Saturday 26th of January 2019 08:10:51 AM
Old 01-26-2019
Simple Autosave and Recovery for Forum WYSIWYG Editors

Well, after causing Don Cragun to lose some replies when working on a few feature, I decided to create a simple autosave / recovery program that will autosave locally on key (key stroke) changes (and mouse clicks as well).

NOTE.
  • Works well in Chrome
  • Works OK in Safari, but is not reliable like Chrome.
  • Does not seem to work in FF due to all their unwanted "blocking" which I cannot turn off.

You can now click this "cloud upload" icon (image below) to load / recover text into the editor on network crash, abrupt browser close, computer crash, etc.

It will not recover what you delete with your keyboard because this simple script saves all your keystrokes locally in local browser storage.

Currently works on desktop, but I will port to mobile soon.

It's simple, but very cool and it works and it works across forum editors (advanced and quick reply editors) and if you close your browser and forget to save, when you open your browser again, it's there.

Press 200 "thank you" for this very cool feature! Smilie Or become Neo's Patreon sponsor and send me your spare change monthly and I'll keep adding new features like this Smilie You will also get another colorful "sponsor's badge" it you do!

Image

You can also you this feature as a faux cut-and-paste between your posts and replies as well. Experiment and have fun with it! Smilie
These 3 Users Gave Thanks to Neo For This Post:
 

6 More Discussions You Might Find Interesting

1. Programming

editors?

Just started out with C and are looking for a good editor in *nix that marks the code with colors. This is maybe a newbie thing to have the C code in colors but i like it and you can almost always se when you are typing wrong. :) Ive heard that emacs should have that option but i havent... (3 Replies)
Discussion started by: hexdoctor
3 Replies

2. UNIX for Dummies Questions & Answers

Editors for UNIX

Where can i find editors for UNIX? thanks (5 Replies)
Discussion started by: Inbal
5 Replies

3. UNIX for Dummies Questions & Answers

Mail utilities and editors.

I was wondering what other mail utilities besides 'mutt, unix mail, PINE and elm' are available for unix. Also, what other editors are around besides 'VI, pico, vim and emacs'... I've been searching the net looking for some answers, but nothing much has come up.. thanx! (1 Reply)
Discussion started by: Shonnie
1 Replies

4. UNIX and Linux Applications

opinions on video editors

What is everyones opinions on these video editors? PiTiVi Avidemux Cinelerra Kdenlive Kino Linux Video Editing: Top Five Linux Video Editors (0 Replies)
Discussion started by: cokedude
0 Replies

5. UNIX for Dummies Questions & Answers

On Linux, Putty Log is not WYSIWYG like the screen?

Hi all, I am not sure if this is a known issue. I am using Putty and logging the session into a log, only the printable one. On Solaris, all is working fine. But on Linux servers, Redhat or Suse, while the screen looks correct, the log file is not. Note example below: On the screen,... (1 Reply)
Discussion started by: newbie_01
1 Replies

6. Web Development

TODO: Add Javascript for Reply and New Post Autosave

TODO: Add a some javascript to: Autosave to browser localstorage when a member is creating a new post or replying to a thread (rewriting any prior text in autosave). Create a button on the editor to load the text stored in the autosave function. Difficulty: Easy. Estimated... (0 Replies)
Discussion started by: Neo
0 Replies
set_color(1)							       fish							      set_color(1)

NAME
set_color - set_color - set the terminal color set_color - set the terminal color Synopsis set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR] Description Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple, cyan, white and normal. o -b, --background Set the background color o -c, --print-colors Prints a list of all valid color names o -h, --help Display help message and exit o -o, --bold Set bold or extra bright mode o -u, --underline Set underlined mode o -v, --version Display version and exit Calling set_color normal will set the terminal color to whatever is the default color of the terminal. Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey font color, while set_color --bold white will result in a white font color. Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator. set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of ncurses and recompile fish against it in order to fix this issue. Version 1.23.1 Sun Jan 8 2012 set_color(1)
All times are GMT -4. The time now is 04:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy