Hide Panels for certain block styles #27205
Labels
[Feature] Theme Style Variations
Related to style variations provided by block themes
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Help Request
Help with setup, implementation, or "How do I?" questions.
Hello all,
I am creating a new style for gallery block. It is working as expected but it does not require any default gallery controls present in the Gallery Settings Panel. I want to hide these controls whenever the style is selected.
I figured that its gonna use the
editor.BlockEdit
filter. I referred to the example in the handbook but I cannot figure out how to make the Panel hide using the filter. This is my code as of now-Any help would be appreciated!
The text was updated successfully, but these errors were encountered: