AutosaveAdapter
 interface
An interface that requires the save() method.
Used by adapter.
Methods
save( editor ) → Promise<unknown>module:autosave/autosave~AutosaveAdapter#saveThe method that will be called when the data changes. It should return a promise (e.g. in case of saving content to the database), so the autosave plugin will wait for that action before removing it from pending actions.
Parameters
editor : Editor
Returns
Promise<unknown>