nested-list
nested-list copied to clipboard
fix: getOutOfList editor.js update event not emitted
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.