Days
Hours
Minutes
Seconds
x

New Froala Editor v5.0.0 is here – Learn More

Skip to content
Froala Documentation

3rd Party Integration

WProofreader Spelling and Grammar Checker

Froala WYSIWYG HTML Editor has an integration for WProofreader product developed by WebSpellChecker which enables advanced spelling, grammar and text style checking. WProofreader allows the user to see and correct typos and grammar problems while typing or in a separate dialog mode. All detected misspellings and grammar errors will be instantly underlined. The user just needs to hover on a marked word and select a suggestion for replacement.

To integrate and activate the WProofreader spelling and grammar checking functionality on your website there are several steps to follow.

  1. Go to WebSpellChecker website and Subscribe to the WProofreader Cloud service.
  2. On the subscription, you will receive an activation key that you need to specify in the WProofreader configuration.
  3. Pass your activation key as a value for serviceId option in the configuration script. It should be an identifier like: "gXuG4NUNri45q9A52Pf".

Try it yourself:

This is an exampl of a sentence with two mispelled words. Just type text with misspelling to see how it works.


HTML

<div id="froala-editor">
  <p>This is an exampl of a sentence with two mispelled words. Just type text with misspelling to see how it works.</p>
</div>

JAVASCRIPT

<!-- Include the wscbundle.js file. -->
<script type="text/javascript" src="https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js"></script>

<!-- Include the WEBSPELLCHECKER_CONFIG variable. -->
<script>
  window.WEBSPELLCHECKER_CONFIG = {
    autoSearch: true,
    autoDestroy: true,
    serviceId: "service-id-recieved-from-webspellchecker-after-subscription"
  };
</script>

<script>
  new FroalaEditor('#froala-editor', {
      iframe: true,
      events: {
          'initialized': function() {
              WEBSPELLCHECKER.init({
                  container: this.$iframe ? this.$iframe[0] : this.el
              });
           }
       }
  }); 
</script>
Sign up

Download the code by signing up for our newsletter

Sign up

Download the code by signing up for our newsletter

Note: By registering, you confirm that you agree to the processing of your personal data by Froala, Inc. - Froala as described in the Privacy Statement. Froala, Inc. - Froala is part of the Idera group and may share your information with its parent company Idera, Inc., and its affiliates. For further details on how your data is used, stored, and shared, please review our Privacy Statement.