Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

onclick for a tags with TinyMCE


Go to End


3 Posts   1169 Views

Avatar
3geeks

Community Member, 9 Posts

23 May 2012 at 5:09pm

Hi everyone,

I'm trying to allow onclick to be added to links with the TintMCE editor. I've tried all sorts of things to get it to work and and can add in tags that weren't previously allowed, such as iframes, but I can't seem to get the a tags onclick to not be stripped out.

Surely this is quite a common thing and I'm guessing a very easy fix. Just no idea how to do it! I'm using 2.4.7 by the way.

Cheers,
Duncan

Avatar
3geeks

Community Member, 9 Posts

28 May 2012 at 7:48pm

Anyone? Doesn't anyone else allow the onclick in the TinyMCE...?

Avatar
3geeks

Community Member, 9 Posts

31 May 2012 at 1:19pm

*bump*