Open xavier-dev opened 6 years ago
I don't think it's a smiley problem only. It seems, the problem occur generally if a Code is considered wrong or incomplete. That happens with all BBCodes, which supported by the CKEditor if you made such as a typo in the first code tag. Example: Go to the test editor and enter one of this wrong code in the source code: https://ckeditor.com/docs/ckeditor4/latest/examples/bbcode.html
[b ]Apollo 11[/b]
[b Apollo 11[/b]
Now click on the source code button. You get the same result, the editor freezes.
My OS Ubuntu 20.04.1 LTS (gnome). Browser Chromium Version 85.0.4183.121 (Offizieller Build) snap (64-Bit). Opera Version:71.0.3770.171 Firefox 82.0 (64-Bit)
Type of report
Bug
Provide detailed reproduction steps (if any)
[quote]One small step for [a] man, one giant leap for mankind.:):)[/quote]
Expected result
The editor should show the quote containing the 2 adjacent smileys, as visible after step 2.
Actual result
The editor is empty and all buttons are disabled. The console of the browser shows "Uncaught TypeError: Cannot read property 'children' of null"
Other details
The same issue occurs if the editor is originally prefilled with a quote containing 2 adjacent simleys.
This issue looks similar to https://dev.ckeditor.com/ticket/13162.