-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Block patterns with "Inserter: no" are listed in the Site Editor > Patterns list #52629
Comments
The sidebar label text for these also says that the patterns can be inserted:
|
Have we considered the fact that, at the end you can copy / paste the blocks or convert the blocks rendered in a template into pattern again making them available everywhere? As a content creator it is just a little bit annoying to recreate the pattern but nonetheless an Based on that logic does still make sense to have "hidden" patterns? I am missing surely something ... but what's the benefit of not making available a pattern if then I can still re-create it? |
I am sure different theme authors will give you different answers. |
As a user you should not need to even think about this. These patterns are building parts of theme templates, |
I have labeled this as a bug. These patterns should not be insertable or viewable from within the Editor or Site Editor UI. Using |
Description
Theme patterns with
Inserter: no
in the pattern file header shows up under Appearance > Editor > Patterns,but they do not show up in Block Editor > Block Inserter > Patterns tab.
I think this should be consistent. It could be confusing for some users that there are patterns listed that can not be inserted.
Step-by-step reproduction instructions
In Twenty Twenty-Three, add
Inserter: no
to the file header of the post meta block pattern: twentytwentythree/patterns/post-meta.php.Save the file changes. 😄
Go to Appearance > Editor > Patterns and see that the post meta pattern is listed under Theme Patterns > Posts
Screenshots, screen recording, code snippet
No response
Environment info
No response
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: