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

fix: getOutOfList editor.js update event not emitted #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DomasB
Copy link

@DomasB DomasB commented Jan 2, 2023

When usage relies on editor.js events (block added/remove/updated), the behavior when user presses "Enter" on last empty item does not trigger editor.js block updated event. As a result, the last item is removed visually, but no change can be detected externally.
Delaying remove current item call solves the issue. The event is emitted and behavior does not change.

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

Successfully merging this pull request may close these issues.

1 participant