AutosaveConfig (autosave)
@ckeditor/ckeditor5-autosave/src/autosave
interface
The configuration of the autosave feature.
See all editor configuration options.
See also the demo of the autosave feature.
Filtering
Properties
-
waitingTime : Number
The minimum amount of time that needs to pass after the last action to call the provided callback. By default it is 1000 ms.
Methods
-
save( editor ) → Promise.<*>
The callback to be executed when the data needs to be saved.
This function must return a promise which should be resolved when the data is successfully saved.
Parameters
editor : Editor
The editor instance.
Returns
Promise.<*>
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.