Skip to content

Version 1.1

What it does

The autosave plugin is used to automatically save in configureable intervalls. Per default, it saves all 60000ms (1minute).

Installation

First you have to switch into your project location using the command line.

cd path/to/your/project

Then you can install the plugin as follows:

npm install @xeditor/plugin-autosave --save --registry https://npm.xeditor.com:4873

Configuration

The default configuration of the plugin looks like this:

{
    pluginId: 'autosave',
    ptype: 'uxxeditorautosave'
}

It should be placed in your plugin configuration file (plugins.js as default).

API

The API for the plugin can be found here: autosave plugin API

Changelog

v1.1.0

Changes

  • Added enableLocalDatabaseSave used to switch use of indexed sb save on and off
  • Added function autoSaveUsingLocalDatabase
  • Marked enableLocalStorageSave and autoSaveUsingLocalStorage as deprecated

Bugfixes

  • disabled autosave if content is not dirty