This guide outlines the main steps that you need to follow in order to integrate and configure WProofreader with CKEditor 5. All the described steps are provided for the Cloud version of WProofreader.
Good to know:
|
Before integrating and configuring WProofreader, CKEditor should be properly configured in your web application. If you haven't done it yet, refer to Quick Start of the CKEditor 5 documentation pages for details.
Adjust initialization of CKEditor 5 to grant WProofreader access to it. You need to add a link to CKEditor 5 instance object as shown in 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> |
Now you need to enable WProofreader with the autoSearch feature. You can initialize WProofreader in your web app: using the config variable or inline data attributes.
1. Add config with options
2. Add WProofreader script
Check this short video to see how WProofreader works in a bundle with CKEditor 5.