-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsyncedA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When you insert a unsynced pattern using /
, the shuffle button doesn't appear in the block toolbar. When you insert the same pattern with the +
button in the top right corner, it does appear. I'm not sure if this difference is intentional, or which is right.
Step-by-step reproduction instructions
- Using the latest WP 6.6 RC (I tested with RC 2), make at least one unsynced block pattern that's inside of a group block, and give it a category.
- Insert the pattern into a page using the
/
shortcut. Note that the shuffle button doesn't appear. - Insert the pattern into a page using the
+
button in the top left corner. Note that the shuffle button does appear.
If you view source, the pattern inserted the second way will have something similar to this in the code, but the pattern inserted with /
will not:
"metadata":{"categories":["tester"],"patternName":"core/block/16","name":"Another awesome Pattern"}
Screenshots, screen recording, code snippet
Screen.Recording.2024-07-02.at.2.08.44.PM.mov
Environment info
WordPress version: 6.6-RC2 (Gutenberg not installed)
Theme: Twenty Twenty Four
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
Metadata
Metadata
Assignees
Labels
[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsyncedA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended