I have an WYSIHTML5 editor and I wrote a paste handler to paste images in site, as attachments. The problem is that I want the pastehandler to work when I hit paste inside the WYSIHTML5 editor also.
I've registered to paste event like this
this.editor.observe("paste", this.pasteHandler);
but the problem is that my pasteHandler needs the event that fired it as a parameter, but the observe function it's not sending the event.
How can I send this event from WYSIHTML5 editor to my paste handler?