5 * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
9 tinymce.create('tinymce.plugins.IESpell', {
10 init : function(ed, url) {
19 ed.addCommand('mceIESpell', function() {
21 sp = new ActiveXObject("ieSpell.ieSpellExtension");
22 sp.CheckDocumentNode(ed.getDoc().documentElement);
24 if (e.number == -2146827859) {
25 ed.windowManager.confirm(ed.getLang("iespell.download"), function(s) {
27 window.open('http://www.iespell.com/download.php', 'ieSpellDownload', '');
30 ed.windowManager.alert("Error Loading ieSpell: Exception " + e.number);
35 ed.addButton('iespell', {title : 'iespell.iespell_desc', cmd : 'mceIESpell'});
38 getInfo : function() {
40 longname : 'IESpell (IE Only)',
41 author : 'Moxiecode Systems AB',
42 authorurl : 'http://tinymce.moxiecode.com',
43 infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell',
44 version : tinymce.majorVersion + "." + tinymce.minorVersion
50 tinymce.PluginManager.add('iespell', tinymce.plugins.IESpell);