Differences

This shows you the differences between two versions of the page.

3rd:wysiwyg:fckeditor:scaythck3hp [2009/09/18 01:26]
3rd:wysiwyg:fckeditor:scaythck3hp [2010/03/04 10:41] (current)
Line 1: Line 1:
 +[[3rd:|<<Back]]
 +====== SCAYT plug-in for CKEditor 3.0. Hosted version ======
 +
 +Encrypted customerid is required to perform migration from free to paid version. Encrypted customerid is provided in the registration email sent to customer after sign-up for SpellChecker.net account. Please choose one of the following update variants.
 +
 +===== Variant 1 =====
 +Modify CKEditor global configuration file (ckeditor/config.js). Add following line of code to the global editor configuration:
 +
 +<code javascript>
 +  config.scayt_customerid="<customerid>";
 +</code>
 +
 +==== Example ====
 +
 +<code JavaScript>
 +CKEDITOR.editorConfig = function( config )
 +{
 +  config.scayt_customerid = '1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk';
 +};
 +</code>
 +
 +===== Variant 2 =====
 +
 +Modify the page that contains CKEditor. Add following line to the editor initialization code:
 +
 +<code javascript>
 +  CKEDITOR.config.scayt_customerid="<customerid>";
 +</code>
 +
 +==== Example ====
 +
 +<code javascript>
 +<script type="text/javascript">
 +  CKEDITOR.config.scayt_customerid = "1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk";
 +  CKEDITOR.replace('editor1');
 +</script>
 +</code>
 +
 +or
 +
 +<code javascript>
 +<script type="text/javascript">
 +  CKEDITOR.replace(
 +    'editor1',
 +    {
 +      language: 'fr',
 +      scayt_customerid: "1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk"
 +    }
 +  );
 +</script>
 +</code>