Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated links and added a tip

...

Code Block
languagejs
themeEmacs
<script>
    window.WEBSPELLCHECKER_CONFIG = {
		autoSearch:true,
		lang: 'uk_UA',
		...
	};
</script>

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


Tip

To limit WProofreader work only to CKEditor 4, you can use the enableAutoSearchIn option where you need to indicate the class of CKEditor 4. They hide the original element and create an iframe element with cke_wysiwyg_frame class: <iframe class="cke_wysiwyg_frame"></iframe>.  

Code Block
languagejs
themeEmacs
enableAutoSearchIn: ['.cke_wysiwyg_frame'],


Option B. Using init() method

...

After you have initialized WProofreader in CKEditor 4, you can customize WProofreader options, its user interface, and behavior using WProofreader Customization Options. You can see the demo of CKEditor 4 integration on our web site.

...