[TYPO3-english] How to make link to javascript function in htmlArea RTE

Toshiyuki Toda toda at mobeta.net
Sat Jun 26 05:10:18 CEST 2010


Hi list.

Thank you,Jigal. I could enter "<a href="javascript:somefunction();" 
rtekeep=1>abc</a>" in RTE_2.0.2/typo3_4.4.0(translated to "<p><a 
href="javascript:somefunction();" external="1" rtekeep="1">abc</a></p>").

But, this link must be entered as very first and only element. When 
other elements already entered or enter this link with other elements, 
this link was translated to "<p>abc</p>".

Can I change this behavior by RTE configuration? or bug?

Jigal van Hemert さんは書きました:
> Toshiyuki Toda wrote:
>> "<a href="javascript:somefunction();" rtekeep=1>abc</a>" was 
>> translated to  "<p>abc</p>".
>>
>> Need special setting for such an easy thing? Both typo3 are default 
>> settings.
> 
> If you enter the TEXT-mode first (the [<>] button) you can add the 
> javascript link. Just tested with 4.4 without any RTE configuration...
> 


More information about the TYPO3-english mailing list