javascript - How to get the save Event in ckeditor editor? -


how save event in ckeditor can make ajax call save data.

here upload image enter image description here

i got solution please use this

 ckeditor.plugins.registered['save'] = {   init: function (editor) {      var command = editor.addcommand('save',      {           modes: { wysiwyg: 1, source: 1 },           exec: function (editor) { // add here custom function save button           alert('you clicked save button in ckeditor toolbar!');           }      });      editor.ui.addbutton('save', { label: 'save', command: 'save' });   } 

}


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -