WebSpellChecker.net Wiki

Home

Migration from hosted free to hosted paid version of SCAYT (SpellCheckAsYouType)

Encrypted customerID is required to perform migration. Encrypted customerID is provided in the registration email, sent to customer after sign-up for WebSpellChecker.net account. It also can be obtained later in MyAccount section on WebSpellChecker.net web site.

Home

CKEditor 3.0+/4.0+

Please choose one of the following update variants.

Variant 1

Modify CKEditor global configuration file (ckeditor/config.js). Add following line of code to the global editor configuration:

  config.scayt_customerid="<customerid>";

Example

CKEDITOR.editorConfig = function( config )
{
  config.scayt_customerid = '1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk';
};

Variant 2

Modify the page that contains CKEditor. Add following line to the editor initialization code:

  CKEDITOR.config.scayt_customerid="<customerid>";

Example

<script type="text/javascript"> 
  CKEDITOR.config.scayt_customerid = "1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk";
  CKEDITOR.replace('editor1');
</script>

or

<script type="text/javascript"> 
  CKEDITOR.replace(
    'editor1',
    {
      language: 'fr',
      scayt_customerid: "1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk"
    }
  );
</script>