-
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
Global Styles: Elements: Add a text decoration control to link elements #45643
Conversation
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
packages/edit-site/src/components/global-styles/typography-panel.js
Outdated
Show resolved
Hide resolved
…el.js Co-authored-by: Robert Anderson <[email protected]>
Size Change: +55 B (0%) Total Size: 1.29 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 addressing this one 👍
✅ Text decoration option now available under links element
✅ Setting text decoration for links applies correctly in both the editors and frontend
✅ Text decoration control does not show for other blocks
LGTM 🚢
I assume this issue can also be closed? |
No, I don't think so, that's a different issue. |
What?
This adds a text decoration option to link elements.
Fixes #40002
Why?
The core theme.json file sets a default text decoration for all links. Themes can control this in theme.json but we should make the control available .
How?
Add the text decoration control to Global Styles but only enable it for links.
Testing Instructions
Screenshots or screencast
cc @WordPress/block-themers