<<Back

Migration from hosted free to licensed version

SCAYT plug-in for FCKeditor 2.6.5 +

Please modify the page that contains FCKeditor. Following string of code should be added to the editor initialization code:

<editor_variable>.Config['ScaytCustomUrl'] = "http://myhost/spellcheck/lf/scayt/scayt.js";

where <editor_variable> - FCKeditor object; <hostname> - host name of site where licensed version of SpellChecker.net application is installed.

Example

<script type="text/javascript">
   var sFCKeditorName = 'myFCKeditor';            
   var oFCKeditor = new FCKeditor(sFCKeditorName);
   oFCKeditor.BasePath = "editors/FCKeditor/";
// ---------------------------------------------------
// set the loader URL
// ---------------------------------------------------
   oFCKeditor.Config['ScaytCustomUrl'] = "http://myhost/spellcheck/lf/scayt/scayt.js";
// ---------------------------------------------------
   oFCKeditor.Height = 300 ;
   oFCKeditor.Width = 700 ;
   oFCKeditor.Value = 'This is an exampl of a sentence with two mispelled words.' ;
   oFCKeditor.Create() ;
</script>

How to make SCAYT default spell-checker in FCKeditor 2.6.5

WebSpellChecker (WSC) is a default spell-checker in FCKeditor 2.6.5. To make SpellCheckAsYouType (SCAYT) a default spell-checker in FCKeditor 2.6.5 please follow the instruction below:

1) Open ckconfig.js (...\FCKeditor_2.6.5\fckeditor\fckconfig.js) for edit
2) Change the value of parameter "FCKConfig.SpellChecker" to "SCAYT"

It should look like: FCKConfig.SpellChecker = “SCAYT”.