Page History
2. Personal User Dictionary User Interface
2.1. Personal User Dictionary Interface in WProofreader
2.2. Personal User Dictionary Interface in SCAYT plugin for CKEditor 4
3. Predefined Personal User Dictionary
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Example 3.1. Setting up a Predefined Personal User Dictionary in WProofreader
Code Block | ||||
---|---|---|---|---|
| ||||
<script> window.WEBSPELLCHECKER_CONFIG = { autoSearch: 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, add one more option to WProofreader configuration:
Code Block | ||||
---|---|---|---|---|
| ||||
<script> window.WEBSPELLCHECKER_CONFIG = { autoSearch: 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 up a Predefined User Dictionary in SCAYT plugin for CKEditor 4
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
config.scayt_customerId: "your encrypted customer 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 personal user dictionaries usage tips, refer to User Dictionary FAQ section. |