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.

SpellCheckAsYouType (SCAYT) plugin for CKEditor 3.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. 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"
												"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
										<html xmlns="http://www.w3.org/1999/xhtml">
										<head>
											<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
											<script type="text/javascript" src="ckeditor/ckeditor_source.js"></script>
										</head>
										<body>
											<textarea id="editor1">
												This is an exampl of a sentence with two mispelled words.
												Just type text with misspelling to see how it works.
											</textarea>
											<script type="text/javascript">
												// For SCAYT Licensed version
												CKEDITOR.config.scayt_srcUrl = "http://spellcheck_host/spellcheck/lf/scayt3/ckscayt/ckscayt.js";
												// For SCAYT Hosted version
												CKEDITOR.config.scayt_customerid = 'encrypted-customer-ID';
												// evaluate SCAYT on startup
												CKEDITOR.config.scayt_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';
												// launch CKeditor
												CKEDITOR.replace( 'editor1' );
											</script>
										</body>
										</html>