Page History
...
Note |
---|
If you expect that you may need to enlarge this array quite often and you don't want to make changes to your configuration each time, make sure you load dynamically the values for this option. |
5. Starting WebSpellChecker v.5.29.0.0, you can also disable the whole categories that are related to the default custom rules for both cloud and on-premise versions using the same disabledRules option.
As for now, we have three categories of the custom rules for non-inclusive and profanity writing in English:
- `WSC_GENDERED_AND_ABLEIST_LANGUAGE`
- `WSC_RACE_AND_ETHNICITY_INSULTS`
- `WSC_STRONG_SWEAR_LANGUAGE`
To disable all of them, just pass:
Code Block | ||||
---|---|---|---|---|
| ||||
disabledRules:['WSC_GENDERED_AND_ABLEIST_LANGUAGE','WSC_RACE_AND_ETHNICITY_INSULTS','WSC_STRONG_SWEAR_LANGUAGE'] |
You can disable at the same time specific rules and categories:
Code Block | ||||
---|---|---|---|---|
| ||||
disabledRules: [‘RULEID’, ‘CATEGORYID”], |