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

Responsive Font-size #1371

Open c-mella opened 1 year ago

c-mella commented 1 year ago

Would it be possible to add support for different font-size units, such as vw? Anytime I try to specify the unit I get NaN because the component is expecting font-size to be a number. The font-size works perfectly in the text and styling but the rte itself doesn't know how to read it and it resets after I try to open it again