Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SourceEditing Plugin in combination with Autosave hardly usable #16783

Open
stefancplace opened this issue Jul 23, 2024 · 0 comments
Open

SourceEditing Plugin in combination with Autosave hardly usable #16783

stefancplace opened this issue Jul 23, 2024 · 0 comments
Labels
domain:integration-dx This issue reports a problem with the developer experience when integrating CKEditor into a system. package:autosave package:source-editing type:question This issue asks a question (how to...).

Comments

@stefancplace
Copy link

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 stefancplace added the type:question This issue asks a question (how to...). label Jul 23, 2024
@Witoso Witoso added package:autosave package:source-editing domain:integration-dx This issue reports a problem with the developer experience when integrating CKEditor into a system. labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:integration-dx This issue reports a problem with the developer experience when integrating CKEditor into a system. package:autosave package:source-editing type:question This issue asks a question (how to...).
Projects
None yet
Development

No branches or pull requests

2 participants