plg_content_xbautosave v2.0.0.3 
17th February 2019 

The Joomla content plugin xbAutosave allows for timed automatic saving of work whilst editing an article or triggering a save with Ctrl+s or Cmd+s keystroke. 

The autosave interval can be set in seconds (minimum 30sec) and timed save and keystroke save can be enabled separately. 

Autosave only works on the backend (admin) site and only when editing an article (com_content). It is disabled on a new article until you have saved manually to give you a chance to set category, status, access etc before your work-in-progress gets automatically revealed to the world!


Although the plugin attempts to trap Cmd+S keystroke when using a Mac this usually doesn't work with the current default configuration of TinyMCE in Joomla 3.9.1
This is probably a bug in the Joomla custom TinyMCE package. Joomla TinyMCE usually crashes out of the article editor page when Cmd+S is pressed causing you to loose all your work. If AutoSave is installed then occasionally Cmd+S will save your work, but mostly it still fails. Very annoying but beyond my understanding to fix.

Meanwhile at least AutoSave will mean you only loose the last 30 seconds or so.

Autosave is based on the plugin CtrlS by Chupurnov Valeriy. This hasn't been updated since 2015 and had several problems and bugs. I think I've cleaned up most of them.


Improvements and bug fixes

  1. Fix the problem with Cmd+S!!!

Possible New features

  1. open to suggestions


v2.0.0.3 17th Feb 2019
    Stupid typo in final save of v2.0.0.2 prevented autosave working
    If its any consolation I lost 3hrs of work when I got back yesterday having been offline for a couple of weeks.
    Now fixed and working again.
v2.0.0.2 27th Jan 2019
    corrected syntax error in language file
v2.0.0.0 11th Jan 2019
    renamed to xbAutoSave
    Automatically disabled on new article until it has been manually saved
    Timer interval minimum set to 30 secs
    Warning about versioning when first opening article
    Minor code and layout improvements
v1.1.1.0 11th Jan 2019
    Added notification to Uninstall and replace with fresh install of v2.0
    No change to code.
v1.1.0.1 11th Dec 2018
    Tidy up code for JED
v1.1.0.0 10th Dec 2018
    First release
v1.0.0.1 1st Dec 2018
    Beta version, working but much legacy code.