Sha256: f7a612dbee77aaf7ca10785402248e1ddda267f931c2260f7ab1ac2c66b00277

Contents?: true

Size: 1.45 KB

Versions: 575

Compression:

Stored size: 1.45 KB

Contents

/**
 * editor_plugin_src.js
 *
 * Copyright 2009, Moxiecode Systems AB
 * Released under LGPL License.
 *
 * License: http://tinymce.moxiecode.com/license
 * Contributing: http://tinymce.moxiecode.com/contributing
 */

(function() {
	tinymce.create('tinymce.plugins.IESpell', {
		init : function(ed, url) {
			var t = this, sp;

			if (!tinymce.isIE)
				return;

			t.editor = ed;

			// Register commands
			ed.addCommand('mceIESpell', function() {
				try {
					sp = new ActiveXObject("ieSpell.ieSpellExtension");
					sp.CheckDocumentNode(ed.getDoc().documentElement);
				} catch (e) {
					if (e.number == -2146827859) {
						ed.windowManager.confirm(ed.getLang("iespell.download"), function(s) {
							if (s)
								window.open('http://www.iespell.com/download.php', 'ieSpellDownload', '');
						});
					} else
						ed.windowManager.alert("Error Loading ieSpell: Exception " + e.number);
				}
			});

			// Register buttons
			ed.addButton('iespell', {title : 'iespell.iespell_desc', cmd : 'mceIESpell'});
		},

		getInfo : function() {
			return {
				longname : 'IESpell (IE Only)',
				author : 'Moxiecode Systems AB',
				authorurl : 'http://tinymce.moxiecode.com',
				infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell',
				version : tinymce.majorVersion + "." + tinymce.minorVersion
			};
		}
	});

	// Register plugin
	tinymce.PluginManager.add('iespell', tinymce.plugins.IESpell);
})();

Version data entries

575 entries across 558 versions & 42 rubygems

Version Path
goldencobra-2.3.4 app/assets/javascripts/goldencobra/html_editors/tinymce_v3/plugins/iespell/editor_plugin_src.js
goldencobra-2.3.3 app/assets/javascripts/goldencobra/html_editors/tinymce_v3/plugins/iespell/editor_plugin_src.js
wagn-1.21.1 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js
wagn-1.21.0 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js
wagn-1.20.4 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js
wagn-1.20.3 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js
wagn-1.20.2 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js
wagn-1.20.1 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js
wagn-1.20.0 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js
ish_lib-0.0.8 vendor/assets/themeforest/alpona/html/js/tiny_mce/plugins/iespell/editor_plugin_src.js
ish_lib-0.0.8 vendor/assets/javascripts/.trash/tinymce/plugins/iespell/editor_plugin_src.js
wagn-1.19.6 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js
wagn-1.19.5 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js
wagn-1.19.4 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js
wagn-1.19.3 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js
wagn-1.19.2 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js
wagn-1.19.1 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js
wagn-1.19.0 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js
tinymce-rails-3.5.11.1 vendor/assets/javascripts/tinymce/plugins/iespell/editor_plugin_src.js
wagn-1.18.6 rails/assets/tinymce/plugins/iespell/editor_plugin_src.js