-
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
Border Support: Fix disabling of border style control #43109
Conversation
Size Change: +3 B (0%) Total Size: 1.27 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch @aaronrobertshaw!
✅ Confirmed that on trunk
the Border style controls are displayed even though opted-out
✅ Confirmed that this PR correctly hides the style controls when opted-out, in both the post editor and in global styles
✅ Confirmed that style controls are available when opted-in
✅ Saving and editing borders and border styles functions correctly in the post editor and global styles
LGTM! ✨
What?
Fixes the prop used to toggle the border style control within the border block support's
BorderBoxControl
.Why?
This bug prevents disabling of the border style control by theme or block authors.
How?
Changes incorrect
showStyle
prop toenableStyle
Testing Instructions
Screenshots or screencast