-
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
Separator Border Block Support #66321
base: trunk
Are you sure you want to change the base?
Separator Border Block Support #66321
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @karthick-murugan! In case you missed it, we'd love to have you join us in our Slack community. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
This reverts commit 63f81c1.
@carolinan - Can you have a look at this PR? |
Edited: sorry @karthick-murugan I responded to the wrong notification. |
I wanted to review this but either there is a conflict with the PR or on my local installs. As soon as I fetch, install and build this PR; all block style options are missing. Even if I remove the change that was made to block.json. What is the goal of this change? What designs are achievable with this setting? Does it also need an option for padding? I am asking because maybe a thickness or size option as a block setting would make more sense? |
8f9e527
to
dd79bd1
Compare
Yes I have updated my PR to include all the latest changes from trunk and checked the block border functionality and it is working fine. Please have a look at the attached screenshot
The primary goal of this change is to enable border customization for the Separator block. This provides users with greater flexibility in styling the Separator block, aligning it with other blocks that support border settings.
With the addition of border support, Custom border widths, Border colors, Global styles integration are all possible.
Currently, padding is not directly associated with the border feature in the Separator block.
A thickness option for the Separator block could complement the border feature, However, the existing border-width setting already provides similar functionality. For this reason, a dedicated thickness/size setting may not be necessary unless it serves a distinct purpose. |
I am finding it unclear how this is intended to work with the dots and background, the background color option and the border color option are changing the same thing? |
What?
Add border block support to the Separator block.
Part of #43247
Why?
Separator
block is missing border support.How?
Adds the border block support in block.json
Testing Instructions
Testing Instructions for Keyboard
None
Screenshots or screencast
In Backend:
In Frontend: