Versions Compared

Key

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

...

This guide outlines the main steps that you need to follow for initializing CKEditor 5 with WProofreader. 

Info
For details on initializing WProofreader, refer to initialization guide.

Step 1. Initialize CKEditor 5

...

  • 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 CKEditor is in focus. 

  • Using init() method
    Excerpt Include
    IN:_include_initializing_wproofreader_using_init_in_ckeditor5_55x
    IN:_include_initializing_wproofreader_using_init_in_ckeditor5_55x
    nopaneltrue

    When using this method, WProofreader will be started on the CKEditor 5 load. 

...