2 * Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
\r
6 tinymce.create('tinymce.plugins.IESpell', {
\r
7 init : function(ed, url) {
\r
15 // Register commands
\r
16 ed.addCommand('mceIESpell', function() {
\r
18 sp = new ActiveXObject("ieSpell.ieSpellExtension");
\r
19 sp.CheckDocumentNode(ed.getDoc().documentElement);
\r
21 if (e.number == -2146827859) {
\r
22 ed.windowManager.confirm(ed.getLang("iespell.download"), function(s) {
\r
24 window.open('http://www.iespell.com/download.php', 'ieSpellDownload', '');
\r
27 ed.windowManager.alert("Error Loading ieSpell: Exception " + e.number);
\r
32 ed.addButton('iespell', {title : 'iespell.iespell_desc', cmd : 'mceIESpell'});
\r
35 getInfo : function() {
\r
37 longname : 'IESpell (IE Only)',
\r
38 author : 'Moxiecode Systems AB',
\r
39 authorurl : 'http://tinymce.moxiecode.com',
\r
40 infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell',
\r
41 version : tinymce.majorVersion + "." + tinymce.minorVersion
\r
47 tinymce.PluginManager.add('iespell', tinymce.plugins.IESpell);
\r