Backport box-shadow support for blocks via theme.json#3274
Backport box-shadow support for blocks via theme.json#3274andrewserong wants to merge 1 commit intoWordPress:trunkfrom
Conversation
|
CC: @madhusudhand and @scruffian, I was looking through the Theme JSON class, and it looked like this one hadn't been backported yet, and I assume it's intended to make it into 6.1? |
|
Should we also add it to |
|
Thanks for taking a look @scruffian! I double checked, and it looks like we don't need to manually specify it in |
|
Is there any way that we can write some unit tests for this? I feel like we have not kept up with the new settings and styles allowed in theme.json. Our test theme is missing quite a few of the items listed in the reference. I think this fine to merge in as is, but I'd like to open a ticket to expand our |
|
Created Core-56611 for expanding unit tests. |
This PR backports the following Gutenberg PR: WordPress/gutenberg#41972. Note that
box-shadowis already listed inPROPERTIES_METADATAso that line has already been backported.See tracking issue: WordPress/gutenberg#43440
Trac ticket: https://core.trac.wordpress.org/ticket/56467
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.