Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Adding a 'name' attribute to the Cardo font family definitions. #422

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

pbking
Copy link
Contributor

@pbking pbking commented Sep 19, 2023

Description

With the latest Gutenberg release a 'name' attribute is required in font family definitions. I believe it has always been required, but the resources would still render. Now, if it is missing the <style id='wp-fonts-local'... resource does not render.

Testing Instructions

Ensure Gutenberg plugin is latest (/trunk) and active.
Render any view with the default 'Cardo' font applied.
Note that the font face resources are used.

image

…sing 'name' attribute causes the font resources to not render
@MaggieCabrera MaggieCabrera merged commit b429f75 into trunk Sep 19, 2023
2 checks passed
@MaggieCabrera
Copy link
Collaborator

Thank you Jason!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants