X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fwsc%2Fplugin.js;fp=_source%2Fplugins%2Fwsc%2Fplugin.js;h=0000000000000000000000000000000000000000;hb=4625dba05116026713fee9008dd93306be0d1553;hp=5e70f206614c69032f0c270a63e8b62319e54f94;hpb=3fe9cac293e090ea459a3ee10d78cbe9e1dd0e03;p=ckeditor.git diff --git a/_source/plugins/wsc/plugin.js b/_source/plugins/wsc/plugin.js deleted file mode 100644 index 5e70f20..0000000 --- a/_source/plugins/wsc/plugin.js +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright (c) 2003-2013, 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;