Skip to content

WProofreader Text Checker

WProofreader Text Checker is a third-party integration for the Froala Editor developed by WebSpellChecker. The solution offers spelling, grammar, and style corrections for multilingual texts. Advanced proofreading options, i.e. spelling autocorrect, autocomplete, and style guide suggestions are also available.

:::tip test it on-line

The sample application page WProofreader Text Checker allows testing the tool right away!

:::

:::danger license not included

WProofreader Text Checker for Froala detects and corrects spelling, grammar, and style issues in multilingual texts. It is a paid solution, and the license is not included in the United Codes Rich Text Editor Pro.

:::

To get a free demo or purchase the full commercial license, please visit the WebSpellChecker free trial page and select WProofreader SDK.

Implementing WProofreader Text Checker is simple and requires only setting a few plug-in variables using the plug-in attribute Initialization PL/SQL Code. Further customizations can be done using WProofreader JavaScript options and a page item attribute Initialization JavaScript Code. See the code samples below.

UC_FROALA_RTE.g_plug_spellcheck_api := 'API KEY';
UC_FROALA_RTE.g_plug_spellcheck_enable := true;
UC_FROALA_RTE.g_plug_spellcheck_js := 'https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js';
UC_FROALA_RTE.g_plug_spellcheck_lang := 'en_US';
UC_FROALA_RTE.g_plug_spellcheck_ui_lang := 'en';
UC_FROALA_RTE.g_plug_spellcheck_theme := 'gray';
UC_FROALA_RTE.g_plug_spellcheck_badge_enable := true;
UC_FROALA_RTE.g_plug_spellcheck_badge_lang := true;

:::note PL/SQL variables

The PL/SQL variables used to enable and configure Wiris MathType are described in the plug-in package documentation.

:::

function( pOptions ) {
pOptions.wproofreader = {
"autocorrect" : true,
"autocomplete" : true,
"actionItems" : ['addWord', 'ignoreAll', 'report', 'settings', 'toggle', 'proofreadDialog'],
"settingsSections" : ['dictionaries', 'languages', 'general', 'options'],
"grammarSuggestions" : true,
"spellingSuggestions" : true,
"styleGuideSuggestions" : true,
"disableOptionsStorage" : ['all']
};
return pOptions;
}

Restrict usage for specific user’s roles

Section titled “Restrict usage for specific user’s roles”

The example code below enables WProofreader Text Checker only for user’s authorized using WProofreader authorization scheme defined in an application shared components.

if APEX_AUTHORIZATION.IS_AUTHORIZED('WProofreader') then
UC_FROALA_RTE.g_plug_spellcheck_enable := true;
end if;