[TYPO3-core] FYI: Fixed bug #16245: htmlArea RTE: When inserting link with IE8, trailing line break is also linked

Stanislas Rolland typo3 at sjbr.ca
Mon Nov 8 18:13:36 CET 2010


FYI: The attached SVN patch was committed.

Type:
Bugfix

Problem:
Have some content similar to the following in the editing area:
< p>
   Product1< br />
   Product2
< /p>

Mark "Product1" with mouse from left to right, but not by double-click, 
and link it: the link includes the trailing br.
Mark "Product2" and link it: the two lines are now linked within this 
latter link.

Solution:
Bug or feature, this is really the amazing behaviour of IE's selection 
object. The attached patch works around it in this particular case by 
removing any trailing br from any link created by IE.

Bugtracker references:
http://bugs.typo3.org/view.php?id=16245

Branches:
trunk (revision 9306)
TYPO3_4-4 (revision 9307)

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_16245_trunk.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101108/ea857614/attachment.txt>


More information about the TYPO3-team-core mailing list