This guide outlines the main steps that you need to follow for initializing WProofreader in Froala Editor.
1. Initialize Froala Editor
Before integrating and configuring WProofreader, make sure that Froala Editor is properly configured in your web application. To initialize Froala Editor, follow the steps described in the Get Started guide.
2. Initialize WProofreader
Choose one of the options below how to enable spelling and grammar checking functionality of WProofreader in Froala Editor.
Option A. Using autoSearch
When using this method, you need a CONFIG and a wscbundle.js script. After setting up the autoSearch, WProofreader will be enabled as soon as the editable container with Froala Editor is in focus. Check the sample below or follow the steps described in the Get Started with WProofreader Server (autoSearch) section.
Option B. Using init() method
When using this method, WProofreader will be started on the Froala Editor load.
Initializing WProofreader using init() in Froala Editor
3. Specify Additional Server Parameters
Make sure you have specified the following server-specific options in CONFIG, which are instructing where spelling and grammar checking requests will be processed:
4. Further Actions
After you have initialized WProofreader in Froala Editor, you can customize WProofreader options, its user interface, and behavior using WProofreader customization options. You can also see the demo of Froala Editor integration on our website.