title: Jquery/javascript detect click event inside tinymce
body: <p>Simple as that, i want to detect when an image has been clicked inside a tinymce editor textarea.</p>
  
  <p>is this really not achievable without creating a plugin for it? i cant use this method because im developing a plugin for drupal's wysiwyg module and i want to to be compatibale with all editors that wysiwyg supports.</p>
  
  <p>onclick in the image attributes wont work,
  .click listeners wont work.
  the wysiwyg module api has no documentation whatsoever.</p>
  
  <p>anybody knows any solution to this? i just want to detect when an image has been clicked, thats it...</p>