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 in order to integrate and configure WebSpellChecker Proofreader with CKEditor 5. All the described steps are provided for the Cloud version of WebSpellChecker Proofreader.

Initialize CKEditor 5

Before integrating and configuring WebSpellChecker Proofreader, CKEditor should be properly configured in your web application. If you haven't done it yet, please refer to Quick Start on the CKEditor 5 documentation pages.

Grant WebSpellChecker Proofreader Access to CKEditor 5 Instance

Adjust initialization of CKEditor 5 to grant WebSpellChecker Proofreader access to it. You need to add a link to CKEditor 5 instance object as shown on the example below.

Code Block
languagejs
themeEmacs
<textarea name="content" id="editor">This is a sample text.</textarea>
 
<script>
        ClassicEditor
            .create(document.querySelector('#editor'))
            .then(editor => {
                editor.element.querySelector('.ck-editor__editable').editor = editor;
            })
</script> 

Add WebSpellChecker Proofreader Script

Excerpt Include
IN:_include_cloud_webspellchecker_proofreader_src_url
IN:_include_cloud_webspellchecker_proofreader_src_url
nopaneltrue

Initialize WebSpellChecker Proofreader with 'autoSearch

Excerpt Include
IN:_include_wsc_proofreader_cloud_initialization_autosearch
IN:_include_wsc_proofreader_cloud_initialization_autosearch
nopaneltrue