diff -r 000000000000 -r bca7a7e058a3 src/pyams_skin/resources/js/ext/tinymce/dev/plugins/example_dependency/plugin.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/example_dependency/plugin.js Thu Feb 13 11:43:31 2020 +0100 @@ -0,0 +1,22 @@ +/** + * 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() { + // Example logic here +}, ['example']);