htmlArea RTE : Adding link problem with IE
Step to reproduce :
Add some text. Create a link out of it. Return
Addn some more text. Create a link.
Add a line between the two links. Create another link between the first two. Focus seems to be lost on the selected and link is not created, And, third link is updated with the choosen target for the second link.
This bug exists on TYPO3 4.5.6 and 4.4.9, with rtehtmlarea version 2.1.7 and 2.0.8
Updated by Jean-Sébastien Gervais about 12 years ago
quick debugging session of /typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3link/typo3link.js
recursive function setLinkAttributes finds the first anchor only, along with pararagraphs and several times the body tag.
Anchor isnt inserted before the recursive function in the selected node.
around line 249
this.editor.document.execCommand('CreateLink', false, theLink)
returns true, but no anchor is created arount the selected text.
selection, range, and bookmark are all valid in my assertions.