SpellCheckAsYouType

SCAYT for iframe

Installation Guide

1. Download and install Sproxy.

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

3. Create a new SCAYT instance when the page loads completely:

var oMySCAYT = new SCAYT({ editor:oMyEditor, name:sMySCAYTName, lang:sInitialLanguage }), where:

oMyEditor {Element, mandatory} — Reference to the target editable iframe object.
sMySCAYTName {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 7-18.

To get HTML content without SCAYT-specific HTML tags (i.e. before submiting 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