Bug #94098
closedRTE / CKEditor removes whole paragraph when deleting last char of line
0%
Description
Since Typo3 10.4.14 our editors are complaining that the RTE randomly removes whole paragraphs. Now we were able to reproduce it. It always happens when removing the last char of a line within a paragpraph.
Attached a screenshot of an example:
Within "der" and "zweistündigen" the is only a simple space. Now place the cursor directly after the "r" of "der" and press BACKSPACE. You would expect that only the "r" will be removed, but the whole <p> Tage will be removed:
It only happens when placing the cursor via mouse to the end of the line. When using END on the keyboard everything works as expected.
Files
Updated by Riccardo De Contardi over 3 years ago
The problem is reproducible even on TYPO3 9.5.26 and I suspect it is a bug in CKEditor, as a similar behavior seems to happen even on the online demo https://ckeditor.com/ckeditor-4/demo/
It looks like that the issue is not reproducible with Firefox (can you confirm?). Strangely, on Firefox, it looks like there is an "additional space" char after the last character of the line
Updated by Riccardo De Contardi over 3 years ago
- Category set to RTE (rtehtmlarea + ckeditor)
Updated by Webadmin no-lastname-given over 3 years ago
We can confirm that it seems to be o.k. in FireFox.
I was able to find the bug in CKEditor bug tracker. Seems to be fixed with upcomming versions of chrome. https://github.com/ckeditor/ckeditor4/issues/4628
Updated by Riccardo De Contardi over 3 years ago
@Webadmin no-lastname-given no-lastname-given
Thank you for your quick and good finding! Do you agree if I close this issue as non-TYPO3 core?
Updated by Webadmin no-lastname-given over 3 years ago
of course you can close it. I wouldn't have opened it when I had found the github issue before...
Updated by Riccardo De Contardi over 3 years ago
- Status changed from New to Closed
@Webadmin no-lastname-given no-lastname-given
No problem at all, I thank you again for your quick reply.
Ticket closed
- non-TYPO3 issue
- related to specific version of Chrome
- temporary workaround: use different browser