danalog
Member
Posted 6 years ago #
I am trying to add a custom callback on tinyMCE.init through a plugin but having a hard time getting there.
In the code there is: do_action('tinymce_before_init');
and: do_action('mce_options');
How should I use this in a plugin to add a custom callback?
danalog
Member
Posted 6 years ago #
Allright, I now use WYSI WordPress which I can edit outsie of the core WP files. Not really resolved but working.
danalog
Member
Posted 5 years ago #
Finally found out how to use it:
function kda_mce_callback(){
echo " handle_event_callback : \"scheduleScan\",\n";
}
add_action('mce_options', 'kda_mce_callback');