jpuri / react-draft-wysiwyg

A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
MIT License
6.38k stars 1.15k forks source link

Add a font-family that contains a number at the end of the font name #1357

Open ytq-0698 opened 1 year ago

ytq-0698 commented 1 year ago

I have a strange issue when add font-family to Editor, I can't use any font that contains a number at the end of the font name Eg: "Baloo 2", "M PLUS 1", "M PLUS 2"... Looks like it's related to this issue https://stackoverflow.com/questions/8951584/assigning-a-css-fontfamily-ending-with-a-number

https://user-images.githubusercontent.com/49302007/223461403-c8dd6b8d-1f4d-4b2e-88a4-e70fc5564108.mov

🙏