This guide outlines the main steps to initialize WProofreader in HTML editable elements such as <input> and <textarea>, and HTML contenteditable elements such as <div>, <iframe> and others. 


All the steps described in this guide are applicable for the Server version of WProofreader.


Step 1. Add WProofreader Script

Step 2. Initialize WProofreader

Initialize the WProofreader functionality for the selected elements and define the required parameters. Below you will find examples of initialization in content-editable elements such <div> and <iframe> and editable elements such as <input> and<textarea>.

The WEBSPELLCHECKER.init () method is not designed for using with either classic rich text editors (such as CKEditor 4, Froala Editor, TinyMCE, etc.) or rich text editors that are based on the custom model (such as CKEditor 5, Quill, ProseMirror, etc.).

2.1. Contenteditable DIV Element

2.2. Contenteditable IFRAME Element

2.3. INPUT Element

2.4. TEXTAREA Element

Step 3. Adjust Default Options

You can adjust the default options to suit your needs. Here is a full list of WProofreader API options and their possible values.

To configure the secure SSL connection between your application and AppServer, follow the steps described in Enabling SSL Connection with AppServer guide.


To see the result of initializing WProofreader in HTML editable elements, see a demo page with the WProofreader initialization in <div> element on our website.



Can be also useful: