Versions Compared

Key

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

...

4. Once you have a rule Id (for example, PRP_VBG), you need to add it as a value into a new option called disabledRules of your WProofreader config. See an example below with two rules:

Code Block
languagejs
themeEmacs
<script>
    window.WEBSPELLCHECKER_CONFIG = {
        ...
        disabledRules: ['PRP_VBG', 'UPPERCASE_SENTENCE_START'],
        ...
    }
</script>


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.

...