wysiwyg-editor icon indicating copy to clipboard operation
wysiwyg-editor copied to clipboard

Hitting backspace prints error: e.parentElement.parentElement is undefined

Open bjornri opened this issue 4 years ago • 2 comments

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,

bjornri avatar Mar 25 '21 12:03 bjornri

Thank you for your feedback. The request has been reported to the product management team for evaluation and consideration for an upcoming release.

AkshayCM avatar Jan 13 '22 06:01 AkshayCM

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 avatar Apr 11 '22 14:04 EXEC-CSM

@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?

essmahr avatar Oct 26 '22 18:10 essmahr

Works for me.

bjornri avatar Apr 26 '23 11:04 bjornri