Bug #84299

CKEditor IE 11 link update copies the current link to the beginning

Added by Marc Hirdes over 2 years ago. Updated 5 months ago.

Status:
Under Review
Priority:
Must have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Start date:
2018-03-15
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

steps to reproduce this error:

1. use Internet Explorer 11

2. Open or edit a longer text

3. Click on an existing link and use the link wizard to update this link

4. change only the class or sth.

The link gets copied to the beginning of the text.

Video to see what happens


Related issues

Related to TYPO3 Core - Bug #90952: Link Browser in ckeditor breaks with browser search Closed 2020-04-05
Related to TYPO3 Core - Bug #80637: CKEditor: update existing links set wrong text if no selection exists. Closed 2017-04-02
Related to TYPO3 Core - Bug #91377: Creating Links in CKEditor RTE marks entire Paragraph since 9.5.16 on IE11 New 2020-05-13
Related to TYPO3 Core - Bug #91684: CKEditor Rich Text Editor New 2020-06-22

History

#1 Updated by Marc Hirdes over 2 years ago

  • Subject changed from ckeditor IE 11 link update to ckeditor IE 11 link update copies the current link to the beginning

#3 Updated by Susanne Moog over 2 years ago

  • Target version changed from 8.7.11 to 8.7.12

#4 Updated by Josef Glatz over 2 years ago

  • Subject changed from ckeditor IE 11 link update copies the current link to the beginning to CKEditor IE 11 link update copies the current link to the beginning

#5 Updated by Benni Mack over 2 years ago

  • Target version changed from 8.7.12 to 8.7.19

#6 Updated by Susanne Moog about 2 years ago

  • Target version changed from 8.7.19 to Candidate for patchlevel

#7 Updated by Jens Neumann about 2 years ago

I also can report strange behavior of RteHtmlArea 8.7.1 and TYPO3 8.7.19 for IE11 and Edge .
See https://github.com/FriendsOfTYPO3/rtehtmlarea/issues/16

#8 Updated by Riccardo De Contardi over 1 year ago

I tried a test with 9.5.4

  • this issue is still reproducible with IE11
  • this issue seems not reproducible with Edge

#9 Updated by Riccardo De Contardi 7 months ago

I am currently not able to reproduce it with a fresh 9.5.15 and IE11

#10 Updated by Peter Kraume 5 months ago

I can reproduce the problem with TYPO3 9.5.18 and IE11.

#11 Updated by Benni Mack 5 months ago

  • Related to Bug #90952: Link Browser in ckeditor breaks with browser search added

#12 Updated by Benni Mack 5 months ago

  • Related to Bug #80637: CKEditor: update existing links set wrong text if no selection exists. added

#13 Updated by Benni Mack 5 months ago

If I go into RteLinkBrowser.js and modify this code snippet


    var selection = RteLinkBrowser.CKEditor.getSelection();
    selection.selectRanges(RteLinkBrowser.ranges);
    if (selection && selection.getSelectedText() === '') {
      selection.selectElement(selection.getStartElement());
    }

to

    var selection = RteLinkBrowser.CKEditor.getSelection();
//    selection.selectRanges(RteLinkBrowser.ranges);
    if (selection && selection.getSelectedText() === '') {
//      selection.selectElement(selection.getStartElement());
    }

it seems to work on an v9.5.18-dev and IE11.

#14 Updated by Gerrit Code Review 5 months ago

  • Status changed from New to Under Review

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64580

#15 Updated by Benni Mack 5 months ago

  • Related to Bug #91377: Creating Links in CKEditor RTE marks entire Paragraph since 9.5.16 on IE11 added

#16 Updated by Riccardo De Contardi about 1 month ago

  • Related to Bug #91684: CKEditor Rich Text Editor added

Also available in: Atom PDF