Versions Compared

Key

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

...

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

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 using the old deployment where the entry point is the SSRV.CGI component), you need please refer to use the different values to access the service properly. Now the entry point for the service requests will be the SSRV.CGI componentthe sample below.

Code Block
languagejs
themeEmacs
config.scayt_serviceProtocol='http(s)';
config.scayt_serviceHost='your_host_name';
config.scayt_servicePort ='443'; // this is the port of your web server or Java application server
config.scayt_servicePath ='virtual_directory/script/ssrv.cgi'; 

3. Adjust default settings

...

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_USauto'; // set American English assets the default language
Info

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

...