Interface

AutosaveAdapter (autosave)

@ckeditor/ckeditor5-autosave/src/autosave

interface

An interface that requires the save() method.

Used by adapter.

Filtering

Methods

  • save( editor ) → Promise<unknown>

    The 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>