Bug #23936
closedhtmlArea RTE: When inserting link with IE8, trailing line break is also linked
0%
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
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.
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.
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
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).