[BUGFIX] RTE: Link class not always set in Firefox
authorStanislas Rolland <typo3@sjbr.ca>
Mon, 15 Oct 2012 22:52:51 +0000 (18:52 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Wed, 31 Oct 2012 18:45:27 +0000 (19:45 +0100)
commit5d69d2a74aad0c7d5c067a029a99b6bac40d68e9
tree792782ce3b896b5e6a32009830bb999e29b64e52
parent2586dc11fa7e9fe865faffede3a40b58abc96d5e
[BUGFIX] RTE: Link class not always set in Firefox

Problem: The range of the selection may be modified by the execCommand in
Firefox, at least since version 14.
Solution: Re-establish the range.

Change-Id: Ied6ff3570be99bac993163cc94b801a3872aa6a9
Resolves: #39662
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/15666
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js