Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor fixes in the formatting.

...

Choose one of the options below how to enable spelling and grammar checking functionality of WProofreader in Froala Editor v3.. After setting up the autoSearch, WProofreader will be enabled as soon as the editable container with Froala Editor is in focus.  

Option A. Using autoSearch

When using this method, you need a CONFIG and a wscbundle.js script.

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>

After setting up the autoSearch, WProofreader will be enabled as soon as the editable container with Froala Editor is in focus. 

Option  B. Using init() method

When using this method, WProofreader will be started on the Froala Editor load.

...