-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global Styles: Fix push to global styles for borders and preset attributes #52816
Conversation
I'm not sure if we are 100% sure we want to include these fixes this late into the 6.3 release cycle. The original PR for these fixes can't be merged to trunk and backported as trunk now contains non-6.3 changes. As noted on the original PR, the bugs these changes address aren't showstoppers so perhaps bumping this PR and the original issue from 6.3 to give it all more time to cook is the wise move. Given that, I'm happy to close this PR once we have a decision. What do others think? |
Size Change: +498 B (0%) Total Size: 1.44 MB
ℹ️ View Unchanged
|
The latest plan is to bump this fix from 6.3 so I'll close this PR. I also based it off the wrong branch 🤦 |
Related:
What?
Fixes the following without bringing in non-6.3 changes:
Some changes from later Gutenberg releases have been included as well to minimise conflicts when backporting this to the 6.3 RC.
Why?
Without these fixes the push to global styles feature is broken.
How?
Changes included to make conflict resolution easier:
Changes to fix pushing of global styles etc:
cleanEmptyObject
to prevent empty objects for properties within the block style attribute objectTesting Instructions
Screenshots or screencast
Screen.Recording.2023-06-18.at.7.34.45.pm.mp4