load

public function load(n:String, u:String, cb:function, s:Object):void
Loads an add-on from a specific url.

Examples

// Loads a plugin from an external URL
tinymce.PluginManager.load('myplugin', '/some/dir/someplugin/editor_plugin.js');

// Initialize TinyMCE
tinyMCE.init({
   ...
   plugins : '-myplugin' // Don't try to load it again
});

Params

Name Type Description
n String Short name of the add-on that gets loaded.
u String URL to the add-on that will get loaded.
cb function Optional callback to execute ones the add-on is loaded.
s Object Optional scope to execute the callback in.