/** * plugin.js * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /*jshint unused:false */ /*global tinymce:true */ /** * Register the plugin, specifying the list of the plugins that this plugin depends on. They are specified in a list, * with the list loaded in order. plugins in this list will be initialised when this plugin is initialized. (before the * init method is called). plugins in a depends list should typically be specified using the short name). If necessary * this can be done with an object which has the url to the plugin and the shortname. */ tinymce.PluginManager.add('example_dependency', function(editor) { // Example logic here }, ['example']);