Support » Plugins » tinyMCE add_action

  • Resolved danalog

    (@danalog)


    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Allright, I now use WYSI WordPress which I can edit outsie of the core WP files. Not really resolved but working.

    Finally found out how to use it:

    function kda_mce_callback(){
    	echo "	handle_event_callback : \"scheduleScan\",\n";
    }
    add_action('mce_options', 'kda_mce_callback');
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘tinyMCE add_action’ is closed to new replies.