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