megahertz / react-simple-wysiwyg

Simple and lightweight React WYSIWYG editor
https://megahertz.github.io/react-simple-wysiwyg/
MIT License
119 stars 21 forks source link

Styles dropdown is buggy (in Firefox 115.12.0esr) #48

Closed lluis closed 6 days ago

lluis commented 1 week ago

Reproducible in https://megahertz.github.io/react-simple-wysiwyg/

After setting some text to some style (header 1, 2 or code) you can't revert back to normal

After a bit of clicking this error shows up in the console:

Uncaught TypeError: c is undefined
    onChange https://unpkg.com/react-simple-wysiwyg@latest:1
    React 11
react-simple-wysiwyg@latest:1:7527
    onChange https://unpkg.com/react-simple-wysiwyg@latest:1
    React 11
    receiveMessage resource://gre/actors/SelectChild.sys.mjs:265
    receiveMessage resource://gre/actors/SelectChild.sys.mjs:467
lluis commented 1 week ago

Seems to work in latest Firefox, the bug is only on 115.12.0esr (current Debian stable version)