I want to create a JavaScript href link in TYPO3 10.4, to open a privacy setting modal on an HTML-Page. The Link always gets deleted after saving. I found the solution to use rtekeep="1" to keep the JavaScript link. Unfortunately the rtekeep attribute always gets deleted after saving. In older TYPO3 versions this trick worked fine.
This is what my code looks like:
<a href="javascript:xyz">Linktext</a>
Edit
link to add more details. – biesior