Font Library doesn't support Font Faces that have multiple assets. #58173
Labels
[Feature] Font Library
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
[Type] Experimental
Experimental feature or API.
Description
If a user installs a font face from a Font collection that references an ARRAY of sources the front-end throws an error and doesn't add the font face.
If the font face src is a STRING then the installation works as expected.
If the font face src is an ARRAY of strings (which is valid) the front-end will throw an error.
Step-by-step reproduction instructions
Add a Font Collection that has a font face that references multiple font faces like so:
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: