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

Will be nice to have id's on block-removed onChange event #2806

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

Will be nice to have id's on block-removed onChange event #2806

josepsolerpla opened this issue Aug 6, 2024 · 0 comments

Comments

@josepsolerpla
Copy link

The question.

Will be nice to have the id's on the block-removed onChange event

Why and how the question has come up.

Trying to do a do a co-op version of editor.js and wanted to use onChange events to send to the socket, but is a bad practice to use index as the element trigger, is better to use the id's but this doesn't come with the event, in case of update or create i can get the block by just getBlockByIndex but when deleting no as the block has been removed

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

1 participant