You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
List: deleting sub items requires deleting twice #40979
When trying to delete sub items in the v2 of the List block, it requires deleting the block twice and you can only remove the block if you use the three dot menu (keyboard controls don't seem to work). This was found as part of testing for the FSE Outreach Program's fourteenth call for testing.
Step-by-step reproduction instructions
Enable the List block experiment in Gutenberg > experiments.
Add a list block.
Add an initial item.
Add a sub item to that first item.
Try to delete it with your keyboard (you can't).
Try to delete it from the three dot ellipsis menu.
Notice that if there's content in the list item, it clears it but doesn't delete the list item.
Delete again and notice it removes the sub item finally.
Screenshots, screen recording, code snippet
double.delete.list.movdeletion.mov
Environment info
WordPress 6.0 RC 2.
GB Version 13.1.0
TT2
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Hi folks,
We are only one week away from the Beta 1 cut-off date for WordPress 6.6. This issue hasn’t seen any movement in a while, so we (the editor triage leads of the 6.6 release) have decided to remove it from the WordPress 6.6 Editor Tasks project board.
This is sort of fixed in the sense that it no longer requires a double deleting of the same block. The list item no longer re-appears. What's left behind is an empty list with an appender. Probably also not ideal, but less incorrect. Ideally deleting the list item also deletes the list when it's the last item?
The PR #42503 that's open is basically stuck on the question: should we delete the whole parent block if what remains is an "unmodified" block, or disable the delete button in the dropdown when the block has a template?
Activity
ellatrix commentedon Jul 19, 2022
#42503 also fixes this issue.
annezazu commentedon Jul 19, 2023
Noting what this looks like in 6.3 RC1:
rc1.mov
[-]List V2: deleting sub items requires deleting twice[/-][+]List: deleting sub items requires deleting twice[/+]annezazu commentedon Feb 5, 2024
The PR hasn't yet been merged and with 6.5 Beta 1 next week, let's punt this.
colorful-tones commentedon May 22, 2024
Hi folks,
We are only one week away from the Beta 1 cut-off date for WordPress 6.6. This issue hasn’t seen any movement in a while, so we (the editor triage leads of the 6.6 release) have decided to remove it from the WordPress 6.6 Editor Tasks project board.
colorful-tones commentedon Jun 14, 2024
I don't think this is an issue anymore and we can likely close this out. See notes here: #42503 (comment)
ellatrix commentedon Jul 24, 2026
This is sort of fixed in the sense that it no longer requires a double deleting of the same block. The list item no longer re-appears. What's left behind is an empty list with an appender. Probably also not ideal, but less incorrect. Ideally deleting the list item also deletes the list when it's the last item?
ellatrix commentedon Jul 24, 2026
The PR #42503 that's open is basically stuck on the question: should we delete the whole parent block if what remains is an "unmodified" block, or disable the delete button in the dropdown when the block has a template?