This is to provide you with step-by-step instructions that how to migrate from an old deprecated version of SCAYT product (v.2) to a new SCAYT (v.3).
SCAYT 2 is a very old version of the SpellCheckAsYouType product, all the development work including bug fixing, enhancements was stopped a while ago. The WebSpellChecker team decided to develop a new version of the product which based on the modern technologies and approaches. Right now SCAYT 3, as well as components/plugins based on it, are stabled and being actively developed and maintained. New updates, features and bug fixing are announced in our each major release.
Thus, we strongly recommend you to consider the migration to a newer version of the SCAYT product in order to have access to the service and continue receiving updates including the latest features and enhancements.
SCAYT 2 product was used on the old versions of CKEditor 4.3.3 and less. The new version of the SCAYT 3 product was launched starting CKEditor 4.4+.
config.scayt_customerid = 'encrypted-customer-ID'; |
You can find your long encrypted customer ID in your previous configuration or you may download it from your account page on the webspellchecker.net website. Login using your Customer ID and pass –> Download Configuration file. |
You can find more information about SCAYT 3 parameters for CKEditor here.
Before to proceed with the migration steps, you need to define the exact version of TinyMCE editor:
Thus, depending on the version of TinyMCE editor, please follow the next instructions below:
Edit your HTML page that contains TinyMCE as follows:
<script src="/tinymce/js/tinymce/tinymce.min.js"></script> <script> tinymce.init({ selector: "textarea#myEditor", theme: "modern", language: "en", plugins: [ "scayt link image table contextmenu" ], toolbar: "scayt undo redo | bold italic | alignleft" + "aligncenter alignright alignjustify |" + "bullist numlist | link image", |
2. Specify SCAYT settings:
/* SCAYT Parameters */ scayt_autoStartup: true, scayt_customerId: "your_encrypted_customer_id", scayt_moreSuggestions:"on", scayt_contextCommands:"add,ignore", scayt_contextMenuItemsOrder: "control,moresuggest,suggest", scayt_maxSuggestions: 6, scayt_minWordLength: 4, scayt_slang: "en_US", scayt_uiTabs: "1,1,1", scayt_context_mode: "default", scayt_elementsToIgnore: "del,pre", class_filter : function(cls, rule) { return cls == 'scayt-ignore' ? false : cls; } }) |
You can find your long encrypted customer ID in your previous configuration or you may download it from your account page on the webspellchecker.net website. Login using your Customer ID and pass –> Download Configuration file. |
You can find more information about available parameters on the SCAYT plugin for TinyMCE 4.0+ demo page.