Sha256: b417d4afc50ddca7ef0dcb80ae9e0b874091a88981f8067aff3df57d35a9538d

Contents?: true

Size: 1.06 KB

Versions: 88

Compression:

Stored size: 1.06 KB

Contents

/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

/**
 * @file Spell checker
 */

// Register a plugin named "wsc".
CKEDITOR.plugins.add( 'wsc',
{
	requires : [ 'dialog' ],
	init : function( editor )
	{
		var commandName = 'checkspell';

		var command = editor.addCommand( commandName, new CKEDITOR.dialogCommand( commandName ) );

		// SpellChecker doesn't work in Opera and with custom domain
		command.modes = { wysiwyg : ( !CKEDITOR.env.opera && !CKEDITOR.env.air && document.domain == window.location.hostname ) };

		editor.ui.addButton( 'SpellChecker',
			{
				label : editor.lang.spellCheck.toolbar,
				command : commandName
			});
		CKEDITOR.dialog.add( commandName, this.path + 'dialogs/wsc.js' );
	}
});

CKEDITOR.config.wsc_customerId			= CKEDITOR.config.wsc_customerId || '1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk' ;
CKEDITOR.config.wsc_customLoaderScript	= CKEDITOR.config.wsc_customLoaderScript || null;

Version data entries

88 entries across 85 versions & 9 rubygems

Version Path
classiccms-0.7.5 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.7.4 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.7.3 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.7.2 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.7.1 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.7.0 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.6.9 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.6.8 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.6.7 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.6.6 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.6.5 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.6.4 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.6.3 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.6.2 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.6.1 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.6.0 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.5.17 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.5.16 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.5.15 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js
classiccms-0.5.14 lib/classiccms/public/js/ckeditor/_source/plugins/wsc/plugin.js