Project

General

Profile

Actions

Bug #23936

closed

htmlArea RTE: When inserting link with IE8, trailing line break is also linked

Added by Henrik Ziegenhain about 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-11-04
Due date:
% Done:

0%

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

Description

With IE8 its impossible to link to lines with different Link Targets.

Expect something like this
< p>
nice Product1< br />
Product2
< /p>

Mark "nice Product1" and link it
mark Product2 and link it
check source code

The two lines are now linked with the last entered link. With Firefox everything is ok.

(issue imported from #M16245)


Files

Actions #1

Updated by Henrik Ziegenhain about 14 years ago

Some further notes when expecting this structure

< p>
Product1< br />
Product2
< /p>

Mark Product1 from left to right with your mouse and link it. Check the source code.

now mark Product1 by double clicking it and link it. Check the source again and see the difference. In Step one also the br-Tag is linked.

Actions #2

Updated by Stanislas Rolland about 14 years ago

Bug or feature, this is really the behaviour of IE's selection object. Let's try to work around it in this particular case. Please test the attached patch with various mouse gestures.

Note: You need to clear the RTE cache, using the BE Clear cache menu, after applying the patch.

Actions #3

Updated by Henrik Ziegenhain about 14 years ago

Hi Stan,

thanks for your hard work.
I successfully tested the patch for 4.4 with Firefox, Opera and IE8 with the various mouse gestures.

Everything in IE8 is fine now, so +1 by reading & testing

Actions #4

Updated by Stanislas Rolland about 14 years ago

Thanks for testing.

Committed to SVN TYPO3core trunk (revision 9306) and branch TYPO3_4-4 (revision 9307).

Actions #5

Updated by Ernesto Baschny over 11 years ago

  • Target version deleted (1088)
Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF