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
Responsive visibility does not work for blocks without a wrapper tag, such as custom HTML blocks. #76128
Activity
sagarjadhav commentedon Mar 4, 2026
I was able to reproduce this issue on WordPress 7.0 Beta.
After reviewing the
core/htmlblock implementation, I confirmed that:classNamesupport.save.I tested explicitly disabling viewport visibility support by adding the following to
packages/block-library/src/html/block.json:After rebuilding:
I’ve opened a PR implementing this approach for review: #76138. Happy to adjust if a different direction is preferred.