Reputation: 14625
Is there any way to capture an event when user has changed font-size?
I'm looking for something similar to this:
CKEDITOR.editor.getCommand('xxx').on('xxx', function(){
});
Upvotes: 2
Views: 919
Reputation: 2192
You need to use:
CKEDITOR.instances.your_instance_name.on( 'change', function() {
// Code goes here
} );
Replace your_instance_name
with your instance name.
Upvotes: 1