Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add code directly to doc

...

When using this method, you need a CONFIG and a wscbundle.js script. After setting up the autoSearch, WProofreader will be enabled as soon as the editable container with CKEditor is in focus. Follow the steps described in the Get Started with WProofreader Cloud (autoSearch) or below.


Code Block
languagejs
themeEmacs
<script>
    window.WEBSPELLCHECKER_CONFIG = {
        autoSearch: true,
		lang: auto, //enable language auto-detection option
		theme: 'gray', //adjust color theme of WProofreader to look more native to CKEditor 4
        serviceId: 'your-service-ID'
   };
</script>

<script type="text/javascript" src="https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js"></script>


Include Page
IN:_include_wproofreader_autosearch_ckeditor4_class
IN:_include_wproofreader_autosearch_ckeditor4_class

...