Skip to content
Permalink
Browse files

MDL-14739: add the latest version of the spellchecker plugin

  • Loading branch information...
scyrma
scyrma committed May 12, 2008
1 parent 2005a9b commit 81502602d52cce747c20ad5e92c2493a116ed1bb

Some generated files are not rendered by default. Learn more.

@@ -15,7 +15,7 @@
author : 'Moxiecode Systems AB',
authorurl : 'http://tinymce.moxiecode.com',
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker',
version : tinymce.majorVersion + "." + tinymce.minorVersion
version : "2.0.2"
};
},

@@ -45,7 +45,8 @@
});

ed.onInit.add(function() {
ed.dom.loadCSS(url + '/css/content.css');
if (ed.settings.content_css !== false)
ed.dom.loadCSS(url + '/css/content.css');
});

ed.onClick.add(t._showMenu, t);
@@ -227,7 +228,7 @@
m = ed.controlManager.createDropMenu('spellcheckermenu', {
offset_x : p1.x,
offset_y : p1.y,
'class' : 'noIcons'
'class' : 'mceNoIcons'
});

t._menu = m;
@@ -311,7 +312,7 @@
},

_sendRPC : function(m, p, cb) {
var t = this, url = t.editor.getParam("spellchecker_rpc_url", "{backend}");
var t = this, url = t.editor.getParam("spellchecker_rpc_url", this.url+'/rpc.php');

if (url == '{backend}') {
t.editor.setProgressState(0);

0 comments on commit 8150260

Please sign in to comment.
You can’t perform that action at this time.