Description
The Terms List block breaks when the Show empty terms switch is turned on. In the Visual Editor, the block just simply disappears.
When you switch from the Visual Editor to the Code Editor, the block still appears to be in the content, but when in the Visual Editor nothing shows and you're unable to select it. The only way to recover is to switch to the Code Editor and manually delete the block and reinsert it.
Screencast
https://share.zight.com/YEu6NBP7
Step-by-step reproduction instructions
- Insert Terms List block
- In the Settings Sidebar, turn on the
Show empty terms switch
- Watch block disappear
Screenshots, screen recording, code snippet
No response
Environment info
WP 6.7.1
Firefox 133.0
macOS Sonoma 14.6.1
Theme: Twenty Twenty One
No plugins activated
Core Block Editor (i.e. Gutenberg plugin not activated)
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
The Terms List block breaks when the
Show empty termsswitch is turned on. In the Visual Editor, the block just simply disappears.When you switch from the Visual Editor to the Code Editor, the block still appears to be in the content, but when in the Visual Editor nothing shows and you're unable to select it. The only way to recover is to switch to the Code Editor and manually delete the block and reinsert it.
Screencast
https://share.zight.com/YEu6NBP7
Step-by-step reproduction instructions
Show empty termsswitchScreenshots, screen recording, code snippet
No response
Environment info
WP 6.7.1
Firefox 133.0
macOS Sonoma 14.6.1
Theme: Twenty Twenty One
No plugins activated
Core Block Editor (i.e. Gutenberg plugin not activated)
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.