-
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
Make link color control opt-in #23049
Conversation
const { colors, gradients } = useSelect( ( select ) => { | ||
return select( 'core/block-editor' ).getSettings(); | ||
}, [] ); | ||
const { colors, gradients, __experimentalEnableLinkColor } = useSelect( |
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.
do you think it's possible to use the useFeature
hook introduced by @gziolo or is it only for theme.json for now?
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.
yeah, it only reads from theme.json at the moment and not yet from add_theme_support
Size Change: +23 B (0%) Total Size: 1.13 MB
ℹ️ View Unchanged
|
I'll land when the CI error is fixed. Probably #23052 will do. |
- Edit Site: fix template lookup. #22954 - Fix for FSE template parts: #23050 - Fix link color style rule. #23025 - Fix for link color: it needs to be opt-in. #23049 - Revert "Image Block: add caption field to placeholder" #23027 - Cover padding: reset button + hook namespace + improve visualizer #23041 - Fix failing 'Build artifacts' CI job (by updating `package-lock.json`): #23052
In landing #22722 we missed that this control should be opt-in at the moment.