editor.js
editor.js copied to clipboard
How to block onChange events
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
Will be nice to be able to send extra data to the onChange event
Same need here!