Versions Compared

Key

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

...

Excerpt

There might be special cases with editable fields where Proofreader WProofreader shouldn't be enabled. You can easily prevent appearing of Proofreader WProofreader using the disableAutoSearchIn option by passing an array of classesidsdata attributes or just particular element types.

Code Block
languagejs
themeEmacs
<script>
    window.WEBSPELLCHECKER_CONFIG = {         
		...
        disableAutoSearchIn: ['.class', '#id', '[data-attribute]', 'textarea'],
        ...
    }
</script>


...