Bug fix: horizontal nav and select on existing range after a command that changes the dom (e.g. font change) now works correctly.
Initial cut at using a host page provided save function.
Changed exampleSave.html to use the new mechanism.
Update example.
Tidy.
Update example.
Bug fix: switch the change monitor back on in all cases after plugins close. Previously it was only switched on if the plugin closed with a save.
Fixed up save function in example: change example file name to couchDBSave.html
Merge branch 'couchdb' of github.com:IMD-Business-School/Quink into couchdb
First attempt at using local storage for auto save. Switch on via 'autosaveto=browser' url query param.
Currently this only handles the aug save side and doesn't attempt to use any auto save when loading a page.
Change the download manager to return a promise and make the editor use that promise object. Can probably do better still but this is an improvement.
Check point using local storage for auto save. Now attempts to re-instate the auto save on request.  Currently only changes the document body as changing the head didn't apply scripts.
The whole approach needs to be re-worked but this may work well enough for now.
Bug fix - make the editor actually usable after applying an auto save. Still far from an ideal approach but now at least things seem to work.
Tidy up auto save handling on start up. Persistence handler use changed to avoid 2 instances being created.
Ensure that command mode styling isn't persisted.
Make submit work again.
Refactor save prior to adding other external save functions.
Enable config submit function via QUINK.submit.
Allows autosave to use a config function supplied as QUINK.autosave.
Update exampleSave to include submit and autosave.
Bring the local autosave into the same form as all the other persistence functions.
Re-order functions to make things easier to work on. No other changes.
Fix formatting.
Use the correct initial page source when applying a previous local auto save.
Only activate the change monitor if auto save is switched on.