Important changes to Tiny Cloud pricing > Find out more
Return to Website


This option should contain a function name to be executed each time an editor instance is removed. The format of this function is: removeInstance(inst) where inst is the editor instance object reference.

Example of usage of the remove_instance_callback option:

function myCustomRemoveInstance(inst) {
    alert("Editor: " + inst.editorId + " is now removed.");

    remove_instance_callback : "myCustomRemoveInstance"

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.