-
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
Post Template: Add Border and Spacing Support #64425
base: trunk
Are you sure you want to change the base?
Post Template: Add Border and Spacing Support #64425
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: +87 B (0%) Total Size: 1.77 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.
Thanks for the continued efforts on adopting border supports 👍
To be honest I'm not sure about whether borders are desirable on the Post Template block. It might be wise to get some design feedback on this one.
Additionally, is the Post Template block another case where it would be better to have these controls deemphasized making the padding, margin, and border controls optional?
04a740e
to
4b8718e
Compare
@aaronrobertshaw I have set the border and spacing controls to be optional by default. |
Thanks for tweaking that. I'm still really not convinced about further block support adoptions on the Post Template block. Any potential use case for this would have to be extremely niche. Let's leave this open for a while longer though and see if it gets any traction or design feedback. |
I agree with you Aki. |
What?
Add Border and Spacing support to the
Post Template
block.Part of #43247
Why?
Post Template
block is missing border support and spacing support.How?
Adds the border and spacing support in block.json.
Testing Instructions
Post Template
(Inside in Query Loop) block's border and spacing is Configurable via Global Styles.Post Template
(In Query Loop) and Apply the border Styles & Spacing.Post Template
block styles take precedence over global Styles.Post Template
block borders & spacing display correctly in both the Editor and Frontend.Screenshots or Screencast
add-border-and-spacing-support-in-post-template.mp4