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

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}), 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.
  • sWscTab {String,optional} — WSC tab opened by default. Now supported: spell, grammar, thes.
  • sUserDictionaryName {String,optional} — user dictionary name.
  • sCustomDictionaryId {Array,optional} — custom dictionary identifier.
  • sSchemaId {int,optional} — custom look&feel package.
  • sWidth {int,optional} — WSC window width.
  • sHeight {int,optional} — WSC window height.
  • sInitY {int,optional} — WSC window initial Y coordinate.
  • sInitX {int,optional} — WSC window initial X coordinate.
  • sAutoClose {String,optional} — WSC window auto closing indicator. Now supported: no - no auto closing, yes - the window is closed after all misspellings are changed to suggestions, nomisspelings - the window is closed when no misspellings in the text.
  • onCancel {Function,optional} — callback function executed after spell checking is canceled.
  • onFinish {Function,optional} — callback function executed after spell checking is finished.
  • onClose {Function,optional} — callback function executed after WSC window is closed.

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