htmlArea RTE: In WebKit, RTE inserts incorrect link if text is double-clicked
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.
(issue imported from #M17140)
#5 Updated by Stanislas Rolland over 8 years ago
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 older versions of WebKit. Therefore the problem may remain in older versions of Safari.