-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experiTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
The responsive hide feature uses media queries. If there is no wrapper tag, the class is not added, and the hide CSS will not be applied.
A support flag like
"visibility": {
"viewport": false
}might be necessary in block.json's supports property.
This feature will be introduced from WordPress 7.0, so a backport might be necessary.
Step-by-step reproduction instructions
- Go to post or page.
- Insert custom html block.
- Hide on Desktop
- You will see that the content of the custom HTML block is displayed on desktop as well.
Screenshots, screen recording, code snippet
visible.mp4
Environment info
- WordPress beta 2
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experiTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
✅ Done