I am writing a plugin for the WYSIWYG editor and the html generated will need some javascript functions. These functions must be generated when the editor uses the plugin in editmode and they should be called onlick on the tag I insert.
The question is: How can I register functions so that they are accessible to my onclick-event at runtime?
Hello everyone,
I am writing a plugin for the WYSIWYG editor and the html generated will need some javascript functions. These functions must be generated when the editor uses the plugin in editmode and they should be called onlick on the tag I insert.
The question is: How can I register functions so that they are accessible to my onclick-event at runtime?
Thanks
Martin Öhman