-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
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
If you export a synced pattern the sync type (synced/unsynced) is not stored in the json file.
So an imported unsynced pattern will always become a synced pattern after import and the user has no way to change that to unsynced.
Step-by-step reproduction instructions
- Go to /wp-admin/edit.php?post_type=wp_block
- Export a synced pattern
- Permanently delete the pattern you just exported
- Import the pattern and notice it now is marked as fully synced and you cannot change that
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
Reactions are currently unavailable
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
Type
Fields
Give feedbackNo fields configured for issues without a type.