Tuesday, 20 August 2013

How to capture click event on Save button of CKEditor

How to capture click event on Save button of CKEditor

i try to capture the the click event occur on save button of CKEditor this
way
var element = CKEDITOR.document.getById('CKEditor1');
element.on('click', function (ev) {
//ev.removeListener();
alert('hello');
return false;
});
but it is not working.when i click on save button of CKEditor then a
postback occur. if possible help me with right code sample to capture
click event occur on Save button of CKEditor. thanks

No comments:

Post a Comment