You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Patterns with Inserter: false are visible in Inserter with Gutenberg 13.0 #40414
[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] BugAn existing feature does not function as intended
Prior to Gutenberg 13.0, you could register patterns with 'inserter' => false, in JS or the Inserter: false comment in PHP (the new method in 12.9) and the pattern would not be visible in the inserter. In 13.0 this no longer works. My guess is this has to do with some recent changes to the Patterns API, but not sure.
Step-by-step reproduction instructions
Make sure 13.0+ is installed
Install the Twenty Twenty-Two theme
Open the Pattern Explorer and you will see an "Uncategorized" section
This section will contain the patterns that should be hidden.
Screenshots, screen recording, code snippet
Patterns Visible in the Editor"
Example 404 pattern with 'inserter' => false:
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.
[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] BugAn existing feature does not function as intended
Activity