Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fix the name of WProofreader, and samples with the code with the correct initialization.

1. Overview

Excerpt Include
IN:_include_user_dictionary_overview
IN:_include_user_dictionary_overview
nopaneltrue


Panel

Table of Contents
maxLevel3
stylenone


2. User Dictionary User Interface

2.1. User Dictionary Interface in

WebSpellChecker Proofreader

WProofreader

2.2. User Dictionary Interface in SCAYT plugin for CKEditor 4


3. Predefined

 User

 Personal User Dictionary


Excerpt Include
IN:_include_user_dictionary_predefined_user_dictionary_parameters
IN:_include_user_dictionary_predefined_user_dictionary_parameters
nopaneltrue

Example 3.1. Setting a Predefined User Dictionary in

WebSpellChecker Proofreader

WProofreader

Code Block
languagejs
themeEmacs
var EditableControlsInstance;
WEBSPELLCHECKER.init(<script type="text/javascript" src="https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js"></script>
...
<script>
    window.WEBSPELLCHECKER_CONFIG = {
        containerautoSearch: 'originalElementId'true,
        autoStartup: true,
		enableGrammar: true,
        langserviceId: 'en_USyour-service-ID',
		userDictionaryName: 'your_user_dictionary_name',
        serviceProtocol: 'https',
        servicePort: '443',
        serviceHost: 'svc.webspellchecker.net',
        servicePath: 'spellcheck31/script/ssrv.fcgi',
		serviceId: 'encrypted-service-ID'
    },
    function(instance) {
        EditableControlsInstance = instance;
    },
    function(error) {
        console.log(error);
    }
);;
</script>

Example 3.2. Setting a Predefined User Dictionary in SCAYT plugin for CKEditor 4

Code Block
languagejs
themeEmacs
titleCKEditor config.js
configCKEDITOR.scayt_customerId: "your encrypted customer ID (activation key)",
CKEDITOR.config.scayt_autoStartup = true;
CKEDITOR.config.grayt_autoStartup = true;
CKEDITOR.config.scayt_sLang ="en_US";
CKEDITOR.config.scayt_userDictionaryName='user_dictionary_name';