Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guide outlines the main steps that you need to follow in order to integrate and configure the SCAYT plugin for CKEditor 4. All the described steps are provided for the Server version of SCAYT.

1. Initialize CKEditor 4

Before integrating and configuring the SCAYT plugin, CKEditor 4 should be properly configured in your web application. If you haven't done it yet,

...

please download the latest version of the CKEditor 4 standard package and refer to 

...

CKEditor Quick Start Guide.

2.

...

Activate SCAYT

...

plugin

If you are using the standard package of CKEditor 4, the SCAYT plugin is already there, which is pointed to the free services. To accomplish migration to the trial or paid version of SCAYT Server, the additional SCAYT parameters must be added to The next step is to define necessary SCAYT parameters and options in the CKEditor config.js file.

2.1. Specify path to the SCAYT plugin (wscbundle.js or ckscayt.js if you have older versions) using scayt_srcUrl parameter. 

Code Block
languagejs
themeEmacs
config.scayt_srcUrl ="http(s)://your_host_name/wscservicevirtual_directory/wscbundle/wscbundle.js";

2.2. Specify the path to the service installation where spelling and grammar check requests will be processed:

Code Block
languagejs
themeEmacs
config.scayt_serviceProtocol='http(s)';
config.scayt_serviceHost='your_host_name';
config.scayt_servicePort ='443';
config.scayt_servicePath ='virtual_directory/api'; // by default the virtual_directory is wscservice
Note

If you are using the old deployment where the entry point is the SSRV.CGI component, please refer to the sample below.

Code Block
languagejs
themeEmacs
config.scayt_serviceProtocol='http(s)';
config.scayt_serviceHost='your_host_name';
config.scayt_servicePort ='443'; 
config.scayt_servicePath ='virtual_directory/script/ssrv.cgi'; 

3. Adjust default settings

Define additional SCAYT parameters (e.g. , for example, start SCAYT spell spelling and grammar automatically, change default language, etc.).and others. For details, refer to SCAYT Parameters for CKEditor 4 guide. 

Code Block
languagejs
themeEmacs
config.scayt_autoStartup = true; // enable spell check as you type on the editor load
config.grayt_autoStartup = true; // enable grammar check
config.scayt_sLang ="en_US";'auto'; // sets the default language
Expand
titleClick here to see a full list of SCAYT API parameters and possible values...
Include Page
SCAYT Parameters for CKEditor 4SCAYT Parameters for CKEditor 4
Info

Check a demo page with SCAYT plugin for CKEditor on our website.

Excerpt Include
IN:_include_cloud_still_have_questions
IN:_include_cloud_still_have_questions
nopaneltrue

...

Can be also useful: