20
Jun
Learn how to use the callback option (init_instance_callback) of the TinyMCE
Callback function of the TinyMCE : init_instance_callback
This option should contain a function name to be executed each time a editor instance is initialized. See the bellow example for usage of this callback function.
function my_custom_init_instance(inst) { alert("Editor: " + inst.editorId + " is now initialized."); } tinyMCE.init({ ... init_instance_callback : "my_custom_init_instance" });