[Pattern overrides] Allow multiple attributes overrides#57573
[Pattern overrides] Allow multiple attributes overrides#57573kevin940726 merged 1 commit intotrunkfrom
Conversation
|
This pull request has changed or added PHP files. Please confirm whether these changes need to be synced to WordPress Core, and therefore featured in the next release of WordPress. If so, it is recommended to create a new Trac ticket and submit a pull request to the WordPress Core Github repository soon after this pull request is merged. If you're unsure, you can always ask for help in the #core-editor channel in WordPress Slack. Thank you! ❤️ View changed files❔ lib/experimental/blocks.php ❔ lib/experimental/connection-sources/index.php |
|
Size Change: +49 B (0%) Total Size: 1.69 MB
ℹ️ View Unchanged
|
glendaviesnz
left a comment
There was a problem hiding this comment.
Tested well for me, I was able to:
✅ Set pattern overrides checkbox for paragraph blocks in synced pattern
✅ Edit instances of those paragraphs when pattern inserted in a post
✅ See the custom instance content when post viewed in frontend
|
Was this backported to Core already? |
@youknowriad this was pulled into the work that the block bindings team did to set up the new |
What?
Part of #53705. Based on #56235.
Allow multiple attributes for a given block (`core/image' for instance).
Why?
As requested in #57249 (comment).
How?
Store
overridesas an object for each id.There might be some manual updates needed in the backend in #57249 to support this.
Testing Instructions
Pattern overrides should still work.
Save the (partially) synced pattern.
Screenshots or screencast
N/A