ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

SourceEditing Plugin in combination with Autosave hardly usable

Open stefancplace opened this issue 1 year ago • 0 comments

We are using the Autosave Plugin in combination with the SourceEditing plugin.

the configuration of the autosave plugin is:

autosave: {
    save: async (editor) => {
      const customDraftAutosavePlugin = editor.plugins.get(CustomDraftAutosavePlugin);
      return customDraftAutosavePlugin.isDraftable() && customDraftAutosavePlugin.saveDraft();
    },
    waitingTime: 1000 * 10, // Save draft after every 10 seconds
  },

Any time the user edits the content the AutoSave Plugin creates an entry in Pending Changes As a result the SourceEditing plugin is disabled in our case for 10 seconds.

This makes the source editing plugin basically unusable.

What do you suggest on how to handle this problem?

stefancplace avatar Jul 23 '24 14:07 stefancplace