SpellCheckAsYouType (SCAYT)

SCAYT allows the user to see and correct misspellings while typing. Misspelled words are underlined. The user just needs to right-click a marked word and select a suggestion to replace the word with.

Now SCAYT is available in a bundle with grammar check feature, GrammarAsYouType (GRAYT) for CKEditor. GrammarAsYouType allows to see and correct grammar problems while typing.

SpellCheckAsYouType (SCAYT) plugin for CKEditor 4.0+

Installation Guide

SCAYT is an integrated spell-checker in CKEditor starting from version 3.0. A free version with an advertisement banner is available for no charge for all CKEditor customers. Grammar check feature, GrammarAsYouType (GRAYT), is available for SCAYT plugin for CKEditor 4.0+, which can be turned on by adding a special parameter grayt_autoStartup. If a customer wants to remove the banner, the Hosted or Licensed version of SCAYT should be purchased.

Hosted Version

The SCAYT plug-in for CKEditor is a zero-installation solution for spell-checking provided by WebSpellChecker.net. You will now have a wonderful spell-checker running out of the box, requiring no server-side installations. Follow the instructions to migrate from the free version to the Hosted paid version of the plug-in without the banner.

Licensed Version

If you want the WebSpellChecker.net engine to run on your server, then the Licensed Version is for you. Follow the instructions to migrate from the free version to the Licensed version of the plugin.

Study the sample code below for more technical information.

										<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
										<html xmlns="http://www.w3.org/1999/xhtml">
											<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
											<script type="text/javascript" src="ckeditor/ckeditor_source.js"></script>
											<textarea id="editor1">
												This is an exampl of a sentence with two mispelled words.
												Just type text with misspelling to see how it works.
											<script type="text/javascript">
												// For SCAYT Licensed version
												// CKEditor version higher than 4.4 or equal
												CKEDITOR.config.scayt_srcUrl = "http://spellcheck_host/spellcheck/lf/scayt3/ckscayt/ckscayt.js";
												// For SCAYT Licensed version
												// CKEditor version less than 4.4
												CKEDITOR.config.scayt_srcUrl = "http://spellcheck_host/spellcheck/lf/scayt/scayt.js";
												// For SCAYT Hosted version
												CKEDITOR.config.scayt_customerid = 'encrypted-customer-ID';
												// evaluate SCAYT on startup
												CKEDITOR.config.scayt_autoStartup = true;
												// evaluate GRAYT on startup
												CKEDITOR.config.grayt_autoStartup = true;
												// set up max suggestion count in context menu
												// all other words will be present in "More Suggestions" sub menu
												CKEDITOR.config.scayt_maxSuggestions = 4;
												// set up SCAYT default language
												CKEDITOR.config.scayt_sLang ="en_US";
												// set up User Dictionary
												CKEDITOR.config.scayt_userDictionaryName = "MyUserDictionaryName";
												// set up Custom Dictionary
												CKEDITOR.config.scayt_customDictionaryIds = "ID1, ID2";
												// enable/disable the "More Suggestions" sub-menu in the context menu.
												// The possible values are "on" or "off".
												CKEDITOR.config.scayt_moreSuggestions = 'off';
												// customize the display of SCAYT context menu commands ("Add Word", "Ignore"
												// and "Ignore All"). It must be a string with one or more of the following
												// words separated by a pipe ("|"):
												// "off": disables all options.
												// "all": enables all options.
												// "ignore": enables the "Ignore" option.
												// "ignoreall": enables the "Ignore All" option.
												// "add": enables the "Add Word" option.
												CKEDITOR.config.scayt_contextCommands = 'add|ignoreall';
												// set the visibility of the SCAYT tabs in the settings dialog and toolbar
												// button. The value must contain a "1" (enabled) or "0" (disabled) number for
												// each of the following entries, in this precise order, separated by a
												// comma (","): "Options", "Languages" and "Dictionary".
												CKEDITOR.config.scayt_uiTabs = '1,0,1';
												// Define order of placing of SCAYT context menu items by groups.
												// It must be a string with one or more of the following
												// words separated by a pipe ("|"):
												// 'suggest' - main suggestion word list
												// 'moresuggest' - more suggestions word list
												// 'control' - SCAYT commands, such as 'Ignore' and 'Add Word'
												CKEDITOR.config.scayt_contextMenuItemsOrder ='moresuggest|control|suggest';
												// Define minimum length of the words that will be collected from editor for spell-checking.
												// 'value' - any positive number
												CKEDITOR.config.scayt_minWordLength = 4;
												// Specify the names of tags that will be skipped while spell checking.
												CKEDITOR.config.scayt_elementsToIgnore = 'del,pre';
												// The parameter turns on/off SCAYT initiation when Inline CKEditor is not focused. 
												// SCAYT markup is taken place (SCAYT instance is not destroyed) in both Inline CKEditor's states, focused and unfocused.
												CKEDITOR.config.scayt_inlineModeImmediateMarkup = true;
												// launch CKeditor
												CKEDITOR.replace( 'editor1' );