#61943Fix JavaScript error that prevents links to anchor tags in RTE
Description
If you try to create a link to an anchor tag (<a name="..."></a>) in the RTE, a JavaScript errors prevents the creation of the link.
SyntaxError: missing ) after argument list
return link_typo3Page('11','#test';
How to reproduce:
- create/edit a “text” content element
- add two sentences
- make the second one an anchor tag (screenshot0001.png shows the HTML source code view)
- highlight one or two words in the first sentence
- click “insert link” icon (see screenshot0002.png)
- popup appears (see screenshot0003.png)
- click the little arrow to show content elements of a page (1)
- content elements of selected page appear right-hand-side
- select the anchor tag (‘test’) (2)
- JavaScript error appears (see screenshot0004.png)
As a consequence, no link is created.
It seems that this issue is a RTE issue. However, the bug is in EXT:recordlist (system extension).
Reviews 4
- main 33020[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE
- TYPO3_6-2 33067[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE
- main 33061[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE
- TYPO3_6-2 33055[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE