Skip to main content

Autosave

What it does

The autosave plugin is used to automatically save in configureable intervals. 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