Get your own copy
Don't hesitate! Just download and test it all by yourself for free!
// 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);
| Name | Type | Description |
|---|---|---|
| editor | tinymce.Editor | Editor instance. |