Bug #23837
closedhtmlArea RTE: Links are incorrectly updated in Google Chrome
0%
Description
When I right-click in the RTE on modify a link, modify it, and validate this modification, T3 re-creates the link with an empty anchor like that :
< a href="#">my first link< />< a href="#">< a/>
If I modify it a second time, I get
< a href="#">my first link< />< a href="#">< a/>< a href="#">< a/>
In FF or IE, I dont have this problem.
An on FE, it's bad...
T3 4.3.8
RTE 1.8.12
Chrome 7.0.517.41
(issue imported from #M16124)
Files
Updated by T3BUGP about 14 years ago
Enable compressed scripts is OFF, with it ON, chrome 7 wont load the RTE.
Updated by T3BUGP about 14 years ago
I cleaned all cache files in typo3temp, with compressed scripts ON, RTE loads now, but still got the problem of duplicate links.
Updated by Stanislas Rolland about 14 years ago
Does this happen only when using the context menu, or does it happen also when using directly the Modify link button in the toolbar.
Updated by T3BUGP about 14 years ago
Ty for your answer Stanislas.
- Right click, modify the link, update : bug
- RTE toolbar at the top : bug
It always happen when we modify the url, title...
Updated by Stanislas Rolland about 14 years ago
I am unable to reproduce this issue with Chrome 8.0.552.5 and TYPO3 4.3 or trunk.
Clear the RTE cache using the Clear cache menu in the backend and clear the browser cache.
When you select an existing link for update, is the information about the current link correctly displayed?
Updated by Stanislas Rolland almost 14 years ago
I managed to reproduce this issue which may depend on how the link is selected and on the use of the accessibility icons feature. The attached patch re-writes the function that updates the links so that the RTE will not use the CreateLink command to update a link. The patch fixes this issue.
Updated by Stanislas Rolland almost 14 years ago
Patch committed to SVN TYPO3core trunk (revision 9616), branch TYPO3_4-4 (revision 9617) and branch TYPO3_4-3 (revision 9618).