Mecha CMS


CKEditor’s SCAYT

Author: Taufik Nurrohman · 231 Views


How to enable the web spell checker feature in CKEditor extension.

Table of Content

First, download the package here, then put the scayt foder to lot\extend\c-k-editor\lot\worker\ckeditor\plugins.

Open lot\extend\c-k-editor\lot\state\config.php then add Scayt to the default toolbar data to insert the tool button:

'toolbar' => [
    ['Undo', 'Redo'],
    ['Bold', 'Italic', 'Underline', 'RemoveFormat'],
    ['SpecialChar', 'Link', 'Image', 'Table', 'HorizontalRule'],
    ['NumberedList', 'BulletedList', 'Blockquote', 'Indent', 'Outdent'],
    ['Scayt'] // ← this
'height' => '30em',

Now load the plugin by adding scayt to a configuration property called extraPlugins:

'toolbar' => [ … ],
'extraPlugins' => 'scayt', // ← this
'height' => '30em',

If the property is already there and already contains some plugins, just add it to the list and then separate with a comma:

'extraPlugins' => 'foo,bar,baz,scayt'


If you have any questions related to this extension, you can write it in the comment form provided in this page. Use GitHub Gist service to share your code snippet in the comment, just paste the link. Until I have updated the comment, you can then remove the gist.




No comments yet.