You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by dennisB <de...@gmail.com> on 2011/12/21 16:24:11 UTC
Problem with wicketstuff-tinymce-1.5.3 external plugins
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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Problem with wicketstuff-tinymce-1.5.3 external plugins
Posted by dennisB <de...@gmail.com>.
We find the problem,the are no problem with wicketstuff-tinymce-1.5.3 the
problem was at our application.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-wicketstuff-tinymce-1-5-3-external-plugins-tp4222060p4222840.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org