Font Family: make it work like any other block support with presets #31489
Labels
CSS Styling
Related to editor and front end styles, CSS-specific issues.
[Status] In Progress
Tracking issues with work in progress
The block supports mechanism works by attaching classes (when the property has preset values such as colors or font-sizes) or inline styles (when it doesn't such as line-height or when the user selects custom values for colors or font-sizes).
The link color was an exception to this model because it addresses the inner markup of a block. We experimented with using CSS Custom Properties for that one but that approach had some issues and we're now exploring an alternative at #31488
The font family also uses CSS Custom Properties but there's no reason it shouldn't work like the rest of the block supports with presets. We should make it work like the rest in preparation for stabilizing it #31416 (comment)
The text was updated successfully, but these errors were encountered: