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.

General Questions /

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

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

onclick for a tags with TinyMCE


Reply


3 Posts   455 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*