Looks like this has been asked before but I'm apparently missing something because I just can't get it to work.
I have a textarea, <textarea rows="1" cols="1" id="dyEditor"></textarea>
and the following jquery code that implements ckeditor
$("#MainContent_dyEditor").ckeditor({ height: '800px', width: '900px', enterMode: CKEDITOR.ENTER_BR,
shiftEnterMode: CKEDITOR.ENTER_P, fullPage: true
});
I want to be able to capture a click when the user clicks on an element inside the editor - not a toolbar button, but an element in the HTML of the editor itself.
I'm using CKEditor 4 if that makes any difference.
Any help would be greatly appreciated.