You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Picking a programmatically registered font in the block settings does not enqueue it, unless it's been allow-listed in theme.json[settings][fontFamilies].
What is your proposed solution?
We need to introspect block settings on render and look for font families. Once a family is found, and that font is registered, enqueue it.
Blockers
We only want to work on this after #40362, so only a subset of programmatically registered webfonts show up in the block settings.
The text was updated successfully, but these errors were encountered:
What problem does this address?
Picking a programmatically registered font in the block settings does not enqueue it, unless it's been allow-listed in
theme.json[settings][fontFamilies]
.What is your proposed solution?
We need to introspect block settings on render and look for font families. Once a family is found, and that font is registered, enqueue it.
Blockers
We only want to work on this after #40362, so only a subset of programmatically registered webfonts show up in the block settings.
The text was updated successfully, but these errors were encountered: