Font Library: Port fixes to special characters on font faces from Create Block Theme #56184
Labels
[Feature] Typography
Font and typography-related issues and PRs
[Type] Enhancement
A suggestion for improvement.
Font Family Name Quotation: Add single quotes to font family names in order to avoid errors related to trying to parse font names with special characters, white spaces, or numbers.
Non-Alphanumeric Character Check: It also checks if the font family name of a font being uploaded includes non-alphanumeric characters. If such characters are present, the form is invalidated.
Related to WordPress/create-block-theme#476
The text was updated successfully, but these errors were encountered: