I am writing an small code to run on CKEditor document click event, but its not working. My code is,
var element = CKEDITOR.document.getById( 'Editor_TextArea' );
element.on( 'click', function( ev )
{
//mycode
alert('ok');
}
);
Can anyone help me..
That
CKEDITOR.document.getById( 'Editor_TextArea' );is not giving any values for me..So i used the below code and its works well.