WebSpellChecker.net Wiki

Home

Migration from hosted free to licensed version of WSC (WebSpellChecker)

WSC plug-in for CKEditor 3.0+/4.0+ Licensed version

The migration process may be performed by modification of the page that contains CKEditor. Following string of code should be added to the editor initialization code:

  <editor_variable>.config.wsc_customLoaderScript="http://<hostname>/spellcheck/lf/22/js/wsc_fck2plugin.js";

where:
<editor_variable> is CKEditor object;
<hostname> is host name of site where licensed version of WebSpellChecker.net application is installed.

OR

The migration can be performed by modification of the CKEditor configuration file (ckeditor/config.js) and adding to it additional parameter:

  config.wsc_customLoaderScript="http://<hostname>/spellcheck/lf/22/js/wsc_fck2plugin.js";

Examples

Modification of the CKEditor initialization code on the page

<script type="text/javascript">
  CKEDITOR.config.wsc_customLoaderScript = "http://myhost/spellcheck/lf/22/js/wsc_fck2plugin.js";
  CKEDITOR.replace( 'editor1' );
</script>

Modification of the CKEditor configuration file config.js

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
 
	config.wsc_customLoaderScript = "http://myhost/spellcheck/lf/22/js/wsc_fck2plugin.js";
};