codex-team / codex-team/editor.js

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

Open
#2,806 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.