WebSpellChecker (WSC)

WSC operates in a separate browser window so your work is not obstructed. Corrected text is automatically returned to the form.

WebSpellChecker (WSC) for Textarea (Extra functionality)

Spell Check

Installation Guide

Follow the instructions to configure WSC in the textarea.

1. Specify WSC URI.

2. Define the WSC invoker:

doSpell({ctrl:sMyEditor, lang:sInitialLanguage, onClose:onCloseHandler, onCancel:onCancelHandler, onFinish:onFinishHandler}), where:
  • sMyEditor {String,mandatory} — textarea instance identifier.
  • sInitialLanguage {String, mandatory} — initial spell check language name. Now supported: en_US, en_GB, pt_BR, en_CA, fr_CA, fr_FR, de_DE, it_IT, el_GR, es_ES, da_DK, nl_NL, nb_NO, pt_PT, sv_SE, fi_FI.
  • onCloseHandler {Function,optional} — Callback function reference.
  • onCancelHandler {Function,optional} — Callback function reference.
  • onFinishHandler {Function,optional} — Callback function reference.

3. To execute a custom code after finishing, cancelling the spell check or closing the WSC window, define the callback functions:

onCloseHandler = function (mSender){}.
onCancelHandler = function (mSender){}.
onFinishHandler = function (mSender){}, where:

mSender {Mixed,optional} — Checked Element or Array of Elements (depending on contents).

4. Invoke WSC when you want to check the spelling.