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 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.
2.2. Specify the path to the service installation where spelling and grammar check requests will be processed:
If you are not able to use a custom port (e.g. 2880) to access the service and deployed the Server to use the FastCGI protocol (via the SSRV.CGI component), you need to use the different values to access the service properly. Now the entry point for the service requests will be the SSRV.CGI component.
3. Adjust default settings
Define additional SCAYT parameters, for example, start SCAYT spelling and grammar automatically, change default language, and others. For details, refer to SCAYT Parameters for CKEditor 4 guide.
Check a demo page with SCAYT plugin for CKEditor on our website.
Can be also useful:
- SCAYT Parameters for CKEditor 4
- Configuring WSC Dialog plugin for CKEditor 4
- Initializing WProofreader in CKEditor 4