[TYPO3-dam] DAM RTE media links and onclick attribute
Martin Holtz
typo3ng_2008 at martinholtz.de
Tue May 19 10:52:27 CEST 2009
Hi André,
> I want to add a javascript onclick event to a RTE link, everthing works
> fine when I add it to "normal" link.
> Edditing a media link in code view as follows, the RTE parses out the
> onclick attribute by saving:
>
> <a href="path/to/file.pdf" txdam="4734" onclick="doIt();"
> class="internal-link" title="PDF title, 248 KB" rtekeep="1">Download
> this</a>
>
> I think this must be related to the processing rule
> "RTE.default.FE.proc.overruleMode = ts_css,txdam_media", but how can I
> add support for javascript events?
>
> My system:
> T3 4.2.6
> RTE 1.7.9
> DAM 1.1.1
>
> DAM settings:
> mediatag = 1
> htmlAreaBrowser = 1
looks like this issue:
http://bugs.typo3.org/view.php?id=10243
regards,
martin
--
Martin Holtz - elemente websolutions http://www.elemente-websolutions.ms
DocTeam: http://forge.typo3.org/projects/show/team-docteam
http://wiki.typo3.org/Ts45min - TypoScript in "45" minutes
http://wiki.typo3.org/De:ts45min - (auch in Deutsch)
More information about the TYPO3-project-dam
mailing list