When using the editor (v2.1.3), I can add a link using the toolbar link option or manually via the html editor window. However, when I try to add an onclick event, the editor removes all the quote marks which causes a syntax error.
For example, this code:
Code:
<a href="some.link.path" target="_blank" onclick="wexternal_alert();">Link</a>
is changed by the editor to:
Code:
<a href="some.link.path" target=_blank onclick=wexternal_alert();>Link</a>
This causes errors. Is there any way to stop the editor from removing the quotes? Any other suggestions for getting an onclick event into a <a> tag?
Thanks in advance
Jason