Page History
2. User
Dictionary User Interface-level dictionary user interface
2.1. User
Dictionary Interfacedictionary interface in WProofreader
Image 2.1.1. User interface of user-level custom dictionary for WProofreader v3.x.x
2.2. User
Dictionary Interfacedictionary interface in SCAYT plugin for CKEditor 4
3. Predefined
Personal User Dictionaryuser dictionary
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Example 3.1. Setting
a Predefined User Dictionaryup a predefined user dictionary in WProofreader
Code Block | ||||
---|---|---|---|---|
| ||||
<script type="text/javascript" src="https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js"></script> ... <script> window.WEBSPELLCHECKER_CONFIG = { autoSearch: true, enableGrammar: true, serviceId: 'your-service-ID', userDictionaryName: 'your_-user_-dictionary_-name' }; </script> <script 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,
justadd one more option to
configuration WProofreaderWProofreader configuration:
Code Block | ||||
---|---|---|---|---|
| ||||
<script type="text/javascript" src="https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js"></script> ... <script> window.WEBSPELLCHECKER_CONFIG = { autoSearch: true, enableGrammar: true, serviceId: 'your-service-ID', userDictionaryName: 'your_-user_-dictionary_-name', disableDictionariesPreferences: true, }; </script> <script type="text/javascript" src="https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js"></script> |
Example 3.2. Setting
a Predefined User Dictionaryup a predefined user dictionary in SCAYT plugin for CKEditor 4
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
config.scayt_customerId: "your encrypted customer ID -service-ID(activation key)", config.scayt_autoStartup = true; config.grayt_autoStartup = true; config.scayt_sLang ="en_US"; config.scayt_userDictionaryName='user_-dictionary_-name'; |
Tip |
---|
For details and user dictionaries usage tips, refer to User Dictionary FAQ section. |