Versions Compared

Key

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

1. Overview

Excerpt Include
IN:_include_user_dictionary_overview
IN:_include_user_dictionary_overview
nopaneltrue

Panel

Table of Contents
maxLevel23
stylenone

2. User

Dictionary User Interface

-level dictionary user interface

2.1. User

Dictionary Interface in WebSpellChecker Proofreader

dictionary interface in WProofreader

Image Added

Image 2.1.1. User interface of user-level custom dictionary for WProofreader v3.x.xImage Removed

2.2. User

Dictionary Interface

dictionary interface in SCAYT plugin for CKEditor 4


3. Predefined

 User Dictionary in Web Application

 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

up a predefined user dictionary in WProofreader

Code Block
languagejs
themeEmacs
var EditableControlsInstance;
WEBSPELLCHECKER.init({
<script>
    window.WEBSPELLCHECKER_CONFIG    container: 'originalElementId',= {
        autoStartup: true,
		enableGrammarautoSearch: true,
        langserviceId: 'en_USyour-service-ID',
		userDictionaryName: 'your_-user_-dictionary_-name',
   };
</script>
<script     serviceProtocol: 'https',type="text/javascript" src="https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js"></script>

Using disableDictionariesPreferences option you can also hide the section with the dictionary settings to prevent end users from removing or disabling the dictionary (the section is shown below)To do so, add one more option to WProofreader configuration:

Image Added

Code Block
languagejs
themeEmacs
<script>
    window.WEBSPELLCHECKER_CONFIG    servicePort: '443',= {
        serviceHostautoSearch: 'svc.webspellchecker.net'true,
        servicePathserviceId: 'spellcheck31/script/ssrv.fcgiyour-service-ID',
		serviceIduserDictionaryName: 'encryptedyour-user-servicedictionary-ID'
    }name',
    function(instance) {		disableDictionariesPreferences: true
        EditableControlsInstance = instance;
    },
    function(error) {
        console.log(error);
    }
);};
</script>
<script type="text/javascript" src="https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js"></script>

Example 3.2. Setting

a Predefined User Dictionary

up a predefined user dictionary in SCAYT plugin for CKEditor 4

Code Block
languagejs
themeEmacs
titleCKEditor config.js
configCKEDITOR.scayt_customerId: "your encrypted customer ID -service-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';
Tip

For details and user dictionaries usage tips, refer to User Dictionary FAQ section.