onInit

public event onInit(editor:tinymce.Editor)
Fires when the popup is initialized.

Examples

// Alerts the selected contents when the dialog is loaded
tinyMCEPopup.onInit.add(function(ed) {
    alert(ed.selection.getContent());
});

// Executes the init method on page load in some object using the SomeObject scope
tinyMCEPopup.onInit.add(SomeObject.init, SomeObject);

Params

Name Type Description
editor tinymce.Editor Editor instance.