-
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
Global Styles: generate preset metadata for font-family in the site editor #36022
Conversation
@oandregal I hope you don't mind the extra ping on this PR. I've had some trouble trying to follow the reasoning and decisions made around which styles or settings to include in the Site Editor. Given I'm missing a fair bit of context, I'm assuming the simplistic solution in this PR is missing some important consequences. I figure you're the best person to enlighten me and point me in the right direction. 🙏 |
Size Change: +24 B (0%) Total Size: 1.08 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.
Brilliant, this works nicely.
Fixes: #36015
Description
This PR updates the
PRESET_METADATA
config for font-family to allow appropriate CSS class generation for global styles and the site editor.How has this been tested?
Manually in Site Editor:
Screenshots
Types of changes
Bug fix.
Checklist:
*.native.js
files for terms that need renaming or removal).