1. Download and install Sproxy.
2. Specify WSC URI (see sample, line 6)
3. 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.
See sample, lines 8-13.
4. Invoke WSC when you want to check the spelling (see sample, line 20).