-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Innerblock not being restricted within groups #48311
Comments
Hi, |
This is still a valid issue. Would be great if anyone would find the time to look at it. |
Hi there, will anybody look at this in the near future? |
I was able to replicate this issue. Currently, a group block specified in a template ignores the |
Hi @glendaviesnz |
I am not sure where this sits in the priorities at the moment, or whether there is some intentional reason why the core Group block behaves like this, but I will try and take a closer look sometime next week to try and at least work out what might be required to fix it. |
That's great. For me it is absolute essential that in certain scenarios the user does not have full access to all the blocks. It just makes it so much easier and manageable from a point of UI for the user to create content for certain blocks/areas, where the full selection of blocks is not needed. |
As far as I know this has been resolved with a recent update of the Gutenberg plugin. |
I, too, have not been able to reproduce this issue with the latest Gutenberg, and it works as expected both with the Perhaps this is due to the fact that the Group block did not originally have |
Description
I am trying restrict the blocks that are available inside a group block, when I create a template for my innerBlocks.
I have tried the below, but this does not seem to work. Also the ALLOWED_BLOCKS does not work inside the group block either. All blocks are available to me for selection inside the group block.
Is this a bug?
I already created a ticket on the WordPress forum here: https://wordpress.org/support/topic/gutenberg-set-allowedblocks-for-the-core-group-block/, but did not get a reply, so hoping this will go quicker.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
Latest WordPress and Gutenberg at time of writing.
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
The text was updated successfully, but these errors were encountered: