tags:

views:

198

answers:

1

Ckeditor call function after newpage button on the toolbar is clicked

A: 

I found out how to catch the paste event:

editor.on('paste', your_cb_fn);

However this doesn't seem to work for the button actions:

// does nothing
editor.on('Bold', your_cb_fn);
editor.on('bold', your_cb_fn);

The solution may be to edit the plugins in _source/plugins to create triggers, though that is not ideal.

Plumo