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.

Good to know:

  • Unlike CKEditor 4, where two WebSpellChecker plugins, SCAYT and WSC Dialog, are integrated by default and available under ABC button, there is no separate plugin for spelling and grammar check available in CKEditor 5.
  • WebSpellChecker Proofreader is a standalone application that can be integrated with a wide range of various rich text editors, including CKEditor 5.
  • To get started with the trial or paid version of WebSpellChecker Proofreader, it is required to subscribe to the Cloud WebSpellChecker Proofreader services. On the subscription, you will receive an email with your encrypted service ID, an activation key, that is required for the WebSpellChecker Proofreader service activation.

1. 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.

2. 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.

<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> 

3. Add WebSpellChecker Proofreader Script

Due to certain specifics of the CKEditor 5 implementation, only proofread in a dialog mode is available.

4. Initialize WebSpellChecker Proofreader with 'autoSearch