I want to limit the blocks available in the widget area. #33350
Labels
[Feature] Widgets Screen
The block-based screen that replaced widgets.php.
[Package] Edit Widgets
/packages/edit-widgets
[Type] Help Request
Help with setup, implementation, or "How do I?" questions.
I would like to limit the blocks available in the widget area to only the following two
However, I want to freely place blocks inside the Group block.
What should I do in this case?
If there is currently no method to make this possible, I would like you to implement a way to make it happen.
Because the specification of the new widget feature will break the traditional theme. (Reference: #32723)
What I have tried
I was able to get the first control by using the
'allowed_block_types_all'
hook.In this case, the inside of the group block is also restricted.
The text was updated successfully, but these errors were encountered: