I am using CKeditor 4.4 , I want to do on click on some text in editor. but jquery click function is not working. My code part which i am doing in jquery documen ready function -
<script>
$(document).ready(function() {
CKEDITOR.replace( 'editor_content');
CKEDITOR.instances.editor_content.on("instanceReady", function(event)
{
alert('test'); // it's working
$('div').click(function(){
alert('test2'); // it's not working
});
});
});
</script>
this is HTML for texeditor:-
<textarea id="editor_content" name="editor_content" contenteditable="true">
<div class="art-heading"> Title goes here !</div>
</textarea>