mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #50119
[Bug 731643] Re: Auto-saving in TinyMCE editor
There is a link to the plugin mentioned by Jono at
https://www.tinymce.com/docs/plugins/autosave/
If you enable the plugin it will record your input every 30 secs (or
specified time) to local storage or session storage and there is a
restore draft button added allowing you to restore the information or
you can set a variable to allow it to restore automatically on page load
Here's a demo of the TinyMCE autosave plugin:
http://valtlfelipe.github.io/TinyMCE-LocalAutoSave/
There are two types of webstorage for html5, one is sessionStorage and
the other is localStorage. The localStorage object stores the data with
no expiration date. The data will not be deleted when the browser is
closed. SessionStorage is not recommended in your case because
everything would be gone when the session is lost, i.e. a timeout
occurs.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/731643
Title:
Auto-saving in TinyMCE editor
Status in Mahara:
Triaged
Bug description:
It would be good if text could be auto-saved in the visual editor
TinyMCE to avoid accidental text losses when switching between windows
and when Mahara times out but the text is not finished. A user doesn't
know what the timeout time is and thus couldn't - even if they wished
- be mindful about it.
Apparently, TinyMCE has a plugin that saves text automatically:
http://tinymce.moxiecode.com/forum/viewtopic.php?id=14352 -> We'd have
to check if it is still works and what else is needed from the Mahara
side.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/731643/+subscriptions
References