Block specific elements styles are not applied for non-core block plugins #52276
Labels
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Bug
An existing feature does not function as intended
Description
Block specific styles are not serialized completely if block is not one of core plugins eg. name starting with "core/".
As result global styles are broken and non-core could only be styled one-by-one or via external CSS.
This is regression after #50310.
I have made PR #52228 which shortly address this issue.
Step-by-step reproduction instructions
theme.json example:
Result:
Expected result:
Screenshots, screen recording, code snippet
No response
Environment info
Versions:
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
The text was updated successfully, but these errors were encountered: