jpuri / react-draft-wysiwyg

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

First character bug in Firefox #1427

Open MrMamen opened 3 months ago

MrMamen commented 3 months ago

If the first character in the Editor is a non-english character the whole page blanks out. The character has to be typed and cannot be pasted in. Example characters include ø æ å ü ö ä and probably a lot of others. This only occurs in Firefox.

Dev-tools-stacktrace: DOMException: Node.removeChild: The node to be removed is not a child of this node Sl https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:38 Ls https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:38 unstable_runWithPriority https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:46 Vo https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:38 Ls https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:38 bs https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:38 Xo https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:38 unstable_runWithPriority https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:46 Vo https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:38 Xo https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:38 Jo https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:38 ae https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:38 r https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:38 _n https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:38 kn https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:38 Dn https://jpuri.github.io/react-draft-wysiwyg/static/bundle.js:38

allcho commented 2 months ago

Same problem, did you fix it?