This option should contain a function name to be executed each time a editor instance is initialized. The format of this function is: initInstance(inst)
where inst
is the editor instance object reference.
Example of usage of the init_instance_callback option:
function myCustomInitInstance(inst) {
alert("Editor: " + inst.editorId + " is now initialized.");
}
tinyMCE.init({
...
init_instance_callback : "myCustomInitInstance"
});
Also see the the setup callback option it enabled you to bind events before the editor instance is initialized.
Was this article helpful? Yes - No
Well, that's awkward . Would you mind opening an issue or helping us out?
Thanks for the feedback!
Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.