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
@Jocs Any ideas here? The issue is that we restrict the allowed font family name to ^[_A-z0-9]+((-|\s)*[_A-z0-9])*$ to prevent bad input and I also don't know whether Chromium supports non-ASCII font family names.
The issue is that we restrict the allowed font family name to ^[_A-z0-9]+((-|\s)[_A-z0-9])$ to prevent bad input and I also don't know whether Chromium supports non-ASCII font family names.
Yes, 微软雅黑 is an valid font family name, so I think we should not restrict the allowed font family name to ^[_A-z0-9]+((-|\s)*[_A-z0-9])*$. Maybe we only need to exclude some special characters?
Description
Steps to reproduce
1.Open the preferences and change font in the Editor tab, if there is a chinese character, this change is invalid.
Expected behavior: Change font successfully
Actual behavior: The font has not changed
Link to an example: [optional]
Versions
The text was updated successfully, but these errors were encountered: