Patterns with Inserter: false
are visible in Inserter with Gutenberg 13.0
#40414
Labels
[Feature] Patterns
A collection of blocks that can be synced (previously reusable blocks) or unsynced
[Type] Bug
An existing feature does not function as intended
Description
Prior to Gutenberg 13.0, you could register patterns with
'inserter' => false,
in JS or theInserter: 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
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.
Yes
The text was updated successfully, but these errors were encountered: