wysiwyg-editor
wysiwyg-editor copied to clipboard
Hitting backspace prints error: e.parentElement.parentElement is undefined
Expected behavior.
No error message.
Actual behavior.
Error message printed to devtools.
Steps to reproduce the problem.
Using this fiddle. Click in the editor at the end of the text and hit backspace. An error is printed to devtools ("e.parentElement.parentElement is undefined" or "cant access .innerHTML of null"). Only happens with option: enter: FroalaEditor.ENTER_BR
Editor version.
3.2.6-1
OS.
MacOS 11.2.3
Browser.
Chrome 89.0.4389.90, Firefox 87.0, Microsoft Edge 89.0.774.57,
Thank you for your feedback. The request has been reported to the product management team for evaluation and consideration for an upcoming release.
Same error here:
Editor version: froala 4.0.10.
Browser: Firefox 99.0,
OS Windows-NT 10.0.
We use FroalaEditor with enter : FroalaEditor.ENTER_P mode. Unfortunately, we haven't been able to figure out which key combination is causing the error.
Stack: [email protected]:1:138503 [email protected]:1:141667 [email protected]:1:29414
@EXEC-CSM @bjornri I believe this has been resolved the the latest release of Froala (v4.0.15). At least, I cannot reproduce as described. Are either of you able to reproduce?
Works for me.