ckeditor5
ckeditor5 copied to clipboard
SourceEditing Plugin in combination with Autosave hardly usable
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?