Skip to content

Creating unsynced pattern from pattern editor results in empty pattern #53319

@nosilver4u

Description

@nosilver4u

Description

If one wants to create an unsynced pattern from an existing reusable block (now a synced pattern), there seem to be a couple (cumbersome) ways to do so. One of the ways we tried is to edit a synced pattern from the pattern manager, and then create a new unsynced pattern from the top-level group. This successfully creates a new unsynced pattern, but the new pattern has no content at all.

Step-by-step reproduction instructions

  1. Create a re-usable block. In my test, I created one that was a group block containing a heading and an image block.
  2. From the re-usable block, choose Manage patterns.
  3. This takes you to the pattern editor, in the List View, click the dotted menu icon for the top-level group block, and create a new unsynced block.
  4. Go back to the pattern manager and edit the new block, there is no content. Likewise, one could insert the new unsynced block in a post to see that no content is added.

Screenshots, screen recording, code snippet

No response

Environment info

WP 6.3 RC3, Chrome (latest), Mac OS X 13.4.1

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 unsynced[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions