Local AutoSave add-on for TinyMCE 4

Local AutoSave plugin for TinyMCE

Save the TinyMCE 4 content to LocalStorage or SessionStorage in your Browser to avoid losing your content in an page refresh, etc.

Only if Browser supports webstorage.

You can configure this plugin using the methods listed here (those configurations are optional):

  • las_seconds - set the period to save the content in seconds (default 6)
  • las_keyName - set the key name for the LocalStorage, SessionStorage
  • las_callback - fires an function with two variables in this object when content is saved successfully
  • las_nVersions - number of versions of content you want to store (default 15, set 0 to disable)

Get more info on Local AutoSave home page: https://github.com/valtlfelipe/TinyMCE-LocalAutoSave

TinyMCE 4 logoTinyMCE 4 compatible

Local AutoSave add-on installation

  1. Download plugin from developer website
  2. Copy localautosave directory to tinymce/plugins/.
  3. Edit TinyMCE config and add localautosave to plugins key
  4. Add buttons to the toolbar section: localautosave
  5. Enjoy!

Refer to TinyMCE add-ons installation manual for more details