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/scayt/scayt.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.scayt_srcUrl="http://<hostname>/spellcheck/lf/scayt/scayt.js";

Examples

Modification of the CKEditor initialization code on the page

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

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

<editor_variable>.config.scayt_srcUrl="http://<hostname>/spellcheck/lf/scayt3/ckscayt/ckscayt.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.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://​<hostname>/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://​<hostname>/spellcheck/lf/scayt3/ckscayt/ckscayt.js";
};