-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Verse Block doesn't delete on backspace #26220
Comments
Hey @DaisyOlsen - thanks for reporting this. After a quick test it seems that this happens after a So it needs more testing to find the inconsistent behavior, that seems related to the previous block. |
I managed to reproduce it locally, can I look at this one? |
Testing with WordPress 5.7. Backspacing to delete the verse block leaves it in the layout even though I have "deleted" it and even the content in blocks before it. |
A quick way of getting into this state is navigating to the code editor, and updating content with:
Go back to the visual editor. Backspace won't remove the verse block and add a default paragraph. |
#26220 (comment) was extremely helpful! All I had to do was add the |
Describe the bug
Verse block should be able to delete with backspace and move focus to previous widget. Currently the widget is not deleted but the focus does change
To reproduce
Steps to reproduce the behavior:
Expected behavior
Similar to Paragraph block the widget should be deleted when backspacing far enough to remove all content.
Screenshots
Demo
The text was updated successfully, but these errors were encountered: