Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-04-01 06:07:23

Coubiac
New member
Registered: 2005-03-31
Posts: 2

How to disable javascript onClick in editor?

Hello,

I'm trying to change the createlink function and set some actions in the onclick element of A. But I don't want it to occurs when I'm editing. So, is it possible to disable it?

Example: if I wrote:
<a href="" onclick="alert('hello')">hello</a>
I just want to see "hello" and to be able to select this word without having the alert !

Thanks

Offline

#2 2005-04-01 07:18:59

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

Re: How to disable javascript onClick in editor?

tanke a look at the linker-plugin!
it uses the onclick-event too...


Niko

Offline

Board footer

Powered by FluxBB