-
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
Comment Reply Link: Add border support #64271
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. |
Size Change: +161 B (+0.01%) Total Size: 1.78 MB
ℹ️ View Unchanged
|
Thanks for the PR @shail-mehta 👍 Before landing this one, I'd like to seek some additional insight on how we might work toward a more curated UI, including consistent decisions across related or similar blocks. @richtabor if you get a chance can you provide some guidelines that we might be able to apply to decide when block support controls should be displayed by default or not for a block? As can be seen in this tracking issue there are a lot of new PRs open adding border support. In most cases, the need for borders is pretty niche. The same could be said for spacing (padding/margin) support too. Would it be fair to say, that if the block is primarily typographic in nature it would be better to make spacing and border controls hidden by default? So all the link related blocks like post and comment navigation links have these controls hidden to start. |
a53577d
to
fa3e6b6
Compare
Yea, that’s a good idea. |
fa3e6b6
to
2bd7912
Compare
I have added border control and spacing control, which are hidden by default. Additionally, I have rebased the current branch. |
2bd7912
to
dc8ca8e
Compare
Flaky tests detected in dc8ca8e. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/10686618555
|
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.
Thank you for the review. |
What?
Add border block support to the
Comment Reply Link
block.Part of #43247
Why?
Comment Reply Link
block is missing border support.How?
Adds the border block support in block.json.
Testing Instructions
Comment Reply Link
block's border is Configurable via Global Styles.Comment Reply Link
block and Apply the border Styles.Comment Reply Link
block styles take precedence over global Styles.Comment Reply Link
block borders display correctly in both the Editor and Frontend.Screenshots or Screencast
add-border-support-in-comment-reply-link.mp4