The forum operates in read-only mode. Please head to StackOverflow for support.
CKEDITOR.plugins.add( 'adico', { init : function( editor ) { // afterCommandExec editor.on( 'afterCommandExec', function(event) { var commandName = event.data.name; // For 'bold' commmand if (commandName == 'bold') alert("Bold button pressed!"); }); } });
Re: Capturing Save Button Click
Re: Capturing Save Button Click
I guess I'll have to create my own button to get the functionality I need (link inside that article that explains how).
Thanks again!
Re: Capturing Save Button Click
here is a sample code
CKEDITOR.plugins.add( 'adico', { init : function( editor ) { // afterCommandExec editor.on( 'afterCommandExec', function(event) { var commandName = event.data.name; // For 'bold' commmand if (commandName == 'bold') alert("Bold button pressed!"); }); } });add this plugin to your config.js file:
config.extraPlugins = 'adico;
and that should be it.