-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Group Block: Add support for custom border settings #29591
Conversation
55f2f95
to
760c685
Compare
Size Change: +10 B (0%) Total Size: 1.4 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.
This tests well for me 👍
Do we need to add this via block supports as well, just without exposing the controls by default until the UI can go through the design process?
I've asked here about how we should address the UI part of borders. As for adding this to the block level, we could do this one by one, to reduce review time and accelerate landing. I'd like to clarify some things about each of them. For example, I think border-radius and border-width are fine being inline styles. However, it seems to me that border-style can be expressed through classes and border-color can be expressed through classes (user chooses one of the preset colors) & inline styles (user chooses a custom color). |
@aaronrobertshaw I haven't found an issue for adding support for border, so I've created one at #29616 to track progress. |
Description
This makes it possible to customize the border settings of the group block. This is necessary for TT1-Blocks, which has a border-style for the group block
How has this been tested?
styles
section of theme.json:Screenshots
Now TT1 Blocks ground blocks look like this:
Types of changes
New feature (non-breaking change which adds functionality)
Checklist: