Project

General

Profile

Actions

Bug #31763

closed

htmlArea RTE : Adding link problem with IE

Added by Jean-Sébastien Gervais about 13 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
Start date:
2011-11-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Step to reproduce :

Add some text. Create a link out of it. Return

Addn some more text. Create a link.

Add a line between the two links. Create another link between the first two. Focus seems to be lost on the selected and link is not created, And, third link is updated with the choosen target for the second link.

This bug exists on TYPO3 4.5.6 and 4.4.9, with rtehtmlarea version 2.1.7 and 2.0.8


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #30209: Problem creating links inside a tableClosedStanislas Rolland2011-09-22

Actions
Related to TYPO3 Core - Bug #29527: Unable to create a link that looks like only a domainlink but links to the domain with parametersClosedStanislas Rolland2011-09-06

Actions
Has duplicate TYPO3 Core - Bug #32874: Not possible to add a link in table fields or unnumbered lists when using IE8Closed2011-12-29

Actions
Actions #1

Updated by Jean-Sébastien Gervais about 13 years ago

quick debugging session of /typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3link/typo3link.js

recursive function setLinkAttributes finds the first anchor only, along with pararagraphs and several times the body tag.
Anchor isnt inserted before the recursive function in the selected node.

around line 249

this.editor.document.execCommand('CreateLink', false, theLink)

returns true, but no anchor is created arount the selected text.
selection, range, and bookmark are all valid in my assertions.

Actions #2

Updated by Benni Mack about 13 years ago

  • Status changed from New to Accepted

Hey, what IE version and OS are you running?

Actions #3

Updated by Jean-Sébastien Gervais about 13 years ago

We use windows XP SP3 with IE7, and found the same problem with IE8.

Firefox and Chrome are fine.

Actions #4

Updated by Jelle van Brenk about 13 years ago

Several of our clients are reporting the same problem with rtehtmlarea of Typo3 V4.5.6. and IE8.

Actions #5

Updated by Helmut Hummel almost 13 years ago

  • Priority changed from Should have to Must have
  • Target version set to 4.5.11
Actions #6

Updated by Gerrit Code Review almost 13 years ago

  • Status changed from Accepted to Under Review

Patch set 2 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/7836

Actions #7

Updated by Jean-Sébastien Gervais almost 13 years ago

Patch 2 fixed the issue for me. Thanks!

Actions #8

Updated by Gerrit Code Review almost 13 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/8616

Actions #9

Updated by Gerrit Code Review almost 13 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8618

Actions #10

Updated by Stanislas Rolland almost 13 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF