Versions Compared

Key

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

...

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. Check a sample below or follow the steps described in the Get started with WProofreader Server (autoSearch).
Excerpt IncludeIN:_include_wproofreader_autosearch_ckeditor4_classIN:_include_wproofreader_autosearch_ckeditor4_classnopaneltrue Excerpt IncludeIN:_include_initialize_wproofreader_option_using_autosearch_serverIN:_include_initialize_wproofreader_option_using_autosearch_servernopaneltrue

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
		enableAutoSearchIn: ['.cke_wysiwyg_frame'], //limit WProofreader work only to CKEditor 4. They hide the original element and create an iframe element with cke_wysiwyg_frame class.
        serviceId: 'your-service-ID'
		...
   };
</script>

<script type="text/javascript" src="http(s)://your_host_name/wscservice/wscbundle/wscbundle.js"></script>

Option B. Using the init method

...

Excerpt Include
IN:_include_cloud_still_have_questions
IN:_include_cloud_still_have_questions
nopaneltrue

...

Can also be

...

useful:

...