[TYPO3-core] FYI: Fixed bug #17140: htmlArea RTE: In WebKit, RTE inserts incorrect link if text is double-clicked

Stanislas Rolland typo3 at sjbr.ca
Fri Jan 21 01:09:59 CET 2011


FYI: The attached SVN patch was committed.

Type:
Bugfix

Problem:
Linking a text by a double click instead of marking the text causes an 
unusal behaivor. The complete link will be inserted in between the 
double clicked text.

Solution:
The method used to determine the selected range does not seem to give a 
correct result in this case. Attached patch will use standard getRangeAt 
method. However, the method was not available in early versions of 
WebKit. Therefore the problem may remain in older versions of Safari.

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

Branches:
trunk (revision 10181)
TYPO3_4-4 (revision 10183)
TYPO3_4-3 (revision 10186)

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_17140_typo3_4-4.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110120/f5db19b4/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_17140_trunk.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110120/f5db19b4/attachment-0001.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_17140_typo3_4-3.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110120/f5db19b4/attachment-0003.txt>


More information about the TYPO3-team-core mailing list