SpellCheckAsYouType

SCAYT for multimple iframes

Installation Guide

1. Download and install Sproxy.

2. Specify SCAYT URI (See sample, line 5).

3. Create an array of SCAYT instances when the page loads completely:

aMySCAYTs.push(new SCAYT({editor:aMyEditors[i],name:aMySCAYTNames[i],lang:sInitialLanguage})), where:

aMyEditors[i] {Element, mandatory} — Reference to target editable iframe object.
aMySCAYTNames[i] {String, mandatory} — SCAYT instance name. The name must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]) and underscores ("_").
sInitialLanguage {String, mandatory} — initial spell check language name. Now supported: en, uk, ec, fc, fr, ge, it, el, sp, br, dk, nl, no, pt, se; fi;

See sample, lines 13-21.

To get HTML content without SCAYT-specific HTML tags (i.e. before submitting content, etc.), call the multiSCAYT[sMySCAYTName].clearHTML();: method, where: sMySCAYTName — existing SCAYT instance name; return: StringHTML content without SCAYT-specific HTML tags.

Sample

SCAYT Samples

SCAYT Demos

WebSpellChecker