editor.js icon indicating copy to clipboard operation
editor.js copied to clipboard

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

Open josepsolerpla opened this issue 1 year ago • 0 comments

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

josepsolerpla avatar Aug 06 '24 18:08 josepsolerpla