> For the complete documentation index, see [llms.txt](https://docs.wproofreader.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wproofreader.com/v6.12.0/integrations/how-tos/disabling-wproofreader-in-source-mode-of-wysiwyg-editors.md).

# Disabling WProofreader in source mode of WYSIWYG editors

Quite often we receive requests from our clients asking how to disable the proofreading option in the source mode of a rich text editor and keep it enabled only in the WYSIWYG mode. In general, for such cases, we offer a special option **disableAutoSearchIn** of WProofreader that allows disabling it for certain cases (class, id, data attribute name and HTML elements).

**Disabling WProofreader in Source Mode of CKEditor 4**

<mark style="background-color:green;">\[Resolved]</mark>

The source mode of CKEditor 4 has a special CSS class '**.cke\_source**'. You can rely on this class and disable WProofreader using the **disableAutoSearchIn** option with this class specified as in the example below.

```javascript
<script>
	window.WEBSPELLCHECKER_CONFIG = {
   		....
   		disableAutoSearchIn: ['.cke_source']
  		....
	};
</script>
```

{% hint style="warning" %}
WProofreader was disabled by default for CKEditor 4 source mode in release [5.5.2](https://webspellchecker.com/release-notes/webspellchecker-cloud-server-5-5-2-release-note/) effective date August 16, 2019.
{% endhint %}
