-
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
Table of contents: Add border block support #63578
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. |
…add/tableofcontents-border-support
Size Change: +191 B (+0.01%) Total Size: 1.76 MB
ℹ️ View Unchanged
|
@aaronrobertshaw could use review here. |
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.
@@ -0,0 +1,4 @@ | |||
:root :where(.wp-block-table-of-contents) { |
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.
I just realised belatedly that this CSS selector should be simplified. The :root :where()
combo makes the specificity the same as the simple class name and probably should just be .wp-block-table-of-contents
.
What?
Add border block support to the
Table of contents
block.Part of #43247
Why?
Table of contents
block is missing border support.How?
Adds the border block support in block.json
Testing Instructions
Table of contents
block's border is configurable via Global StylesTable of contents
block and Apply the border stylesScreenshots or screencast
Blog-Home-.-Template-.-gutenberg-.-Editor-.-WordPress.5.webm