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

High amount of send requests #66

Open
xxxLukskyxxx opened this issue Nov 4, 2024 · 1 comment
Open

High amount of send requests #66

xxxLukskyxxx opened this issue Nov 4, 2024 · 1 comment

Comments

@xxxLukskyxxx
Copy link

Since the update to version 4.1.2, a bug that was also present in version 3.2.1 has reappeared. When typing in the editor, a request is sent to the backend for every character.
In version 4.0.0 requests are only sent when the focus changes. Especially when there are a lot of users on the system, this high amount of requests has a really bad impact on performance. This problem occurs even if the autosave time is set to 5000ms in the config, or is there another way to turn this off?

2024-11-04_12-53-47.mp4
@xxxLukskyxxx xxxLukskyxxx changed the title High amount of sending requests High amount of send requests Nov 4, 2024
@eroself
Copy link
Collaborator

eroself commented Dec 6, 2024

To turn it off, set the sync variable to false.

VaadinCKEditor editor = new VaadinCKEditorBuilder().with(builder -> {
    ...
    builder.sync = false;
    ...
}).createVaadinCKEditor();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants