WebSpellChecker.net Wiki

Home

Migration from hosted free to licensed version

SCAYT plug-in for CKEditor 3.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 CKEditor initialization code:

<editor_variable>.config.scayt_srcUrl="http://<hostname>/spellcheck/lf/scayt3/ckscayt/ckscayt.js";

where <editor_variable> - CKEditor object; <hostname> - 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 - config.js (ckeditor/config.js) and adding to it additional parameter:

  config.scayt_srcUrl="http://<hostname>/spellcheck/lf/scayt3/ckscayt/ckscayt.js";

Examples

Modification of the CKEditor initialization code on the page

<script type="text/javascript">
  CKEDITOR.config.scayt_srcUrl = "http://myhost/spellcheck/lf/scayt3/ckscayt/ckscayt.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.scayt_srcUrl = "http://myhost/spellcheck/lf/scayt3/ckscayt/ckscayt.js";
};

WSC plug-in for CKEditor 3.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> - CKEditor object; <hostname> - 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 - config.js (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";
};