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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -