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

How to block onChange events #2805

Open
josepsolerpla opened this issue Aug 6, 2024 · 2 comments
Open

How to block onChange events #2805

josepsolerpla opened this issue Aug 6, 2024 · 2 comments

Comments

@josepsolerpla
Copy link

The question.

Is possible to trigger an blocks update/insert/delete without triggering the onChange event ?

Why and how the question has come up.

I'm trying to do a co-op version of the editor.js pluggin in bubble using websockets, and as I detect the changes with the usual events with onChange I send the blocks to the websocket server so everyone in the room gets the same values, but then when the other clients recieve the blocks and insert them the onChange is triggered again as the update/insert/delete does that

@josepsolerpla
Copy link
Author

Will be nice to be able to send extra data to the onChange event

@AlexVFX20032
Copy link

Same need here!

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