Project

General

Profile

Actions

Bug #94098

closed

RTE / CKEditor removes whole paragraph when deleting last char of line

Added by Webadmin no-lastname-given about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2021-05-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

clipboard-202105100920-qanfg.png (45.8 KB) clipboard-202105100920-qanfg.png Webadmin no-lastname-given, 2021-05-10 07:20
clipboard-202105100934-e0ey0.png (30.1 KB) clipboard-202105100934-e0ey0.png Webadmin no-lastname-given, 2021-05-10 07:34
Actions #1

Updated by Riccardo De Contardi about 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

Actions #2

Updated by Riccardo De Contardi about 3 years ago

  • Category set to RTE (rtehtmlarea + ckeditor)
Actions #3

Updated by Webadmin no-lastname-given about 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

Actions #4

Updated by Riccardo De Contardi about 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?

Actions #5

Updated by Webadmin no-lastname-given about 3 years ago

of course you can close it. I wouldn't have opened it when I had found the github issue before...

Actions #6

Updated by Riccardo De Contardi about 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

Actions

Also available in: Atom PDF