We are performing upgrade to wicketstuff-tinymce-1.5.3 and we have some
problems with external plugins.

this code in tiny_mce_src.js loadScripts() function that suppose to load our
plugin javaScript is never called:

function loadScripts() {
        if (s.language && s.language_load !== false)
                sl.add(tinymce.baseURL + '/langs/' + s.language + '.js');
                if (s.theme && s.theme.charAt(0) != '-' && 
!ThemeManager.urls[s.theme])
                ThemeManager.load(s.theme, 'themes/' + s.theme + 
'/editor_template' +
tinymce.suffix + '.js');
                      each(explode(s.plugins), function(p) {
                        if (p &&!PluginManager.urls[p]) {
                          if (p.charAt(0) == '-') {
                             p = p.substr(1, p.length);
                             var dependencies = PluginManager.dependencies(p);

                             each(dependencies, function(dep) {
                                *var defaultSettings = {prefix:'plugins/', 
resource: dep,
suffix:'/editor_plugin' + tinymce.suffix + '.js'};
                                var dep = 
PluginManager.createUrl(defaultSettings, dep);
                                PluginManager.load(dep.resource, dep);*
                                                                
                             });
     } else {
       // Skip safari plugin, since it is removed as of 3.3b1
          if (p == 'safari') {
         return;
     }
        PluginManager.load(p, {prefix:'plugins/', resource: p,
suffix:'/editor_plugin' + tinymce.suffix + '.js'});
     }
   }
});

we don't have any dependencies on our plugin... do we need some?

Any help will be appreciated. 



 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-wicketstuff-tinymce-1-5-3-external-plugins-tp4222060p4222060.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to