[TYPO3-UG US] Disable HTML formatting in anchor tags in RTE (<ahref="tel:....")?
Matthias Krappitz
matthias at nospam.aemka.de
Mon Apr 25 12:19:56 CEST 2011
> I'm working on a mobile site and our client would like to be able to put
> anchor tags such as <a href="tel:+13435850404">Call our offices
> today!</a> -
> clicking this link on an iPhone (or Android) will cause the phone
> application to launch (which is what I want!). The problem is that when I
> switch the RTE to HTML mode and enter the code manually, the RTE tries to
> "fix" the anchor tag and replaces the link with something totally
> different/broken.
>
> Is there a way to tell TYPO3 "don't touch this! html!" if I've edited
> something with the RTE in HTML mode? Or is there a better way I should be
> inserting these "special" anchor tags?
This is pretty easy - add the attribute rtekeep="1" to your a-tag and the
rte will never touch it again.
Cheers
Matthias
w. www.aemka.de
More information about the TYPO3-UG-US
mailing list