Article

Disable Spell Checker in CKeditor 3.3.1 (Drupal)

CKeditor interface

Have you ever wanted to completely disable spell check function in CKeditor?

Well, after searching few hours for a solution, I ended up modifying the main plugin file, ckeditor.js, located in the CKeditor root folder (in my case, sites/all/libraries/ckeditor).

By default, this file is minified. If you try to beautify it, it might not work at all, so leave it minified.

Now, look after this string:

print,removeformat,resize,save,scayt,smiley,showblocks

In this long string, find the work scayt and remove it without any mercy, like I did.

Now the wysiwyg editor is working nicely, without any annoying <span data-scayt_word= in the source code.

The automatic spell check function might be useful to those who speak one of the most popular languages, like English, German, Spanish, French etc. But in my case, a Romanian language speaker, there is no dictionary in the spellchecker.net free service.

I hope it's a general fix for those who want to remove the spell check function in CKeditor. I couldn't find a more elegant solution.

If you update CKeditor to a newer version, and the scayt is on again, try to disable it the easy way, in Administration » Configuration » Content authoring » Wysiwyg profiles. If it's still not working, you can modify again the ckeditor.js file.

If you find a better way to disable SCAYT in CKeditor, please leave a comment below.

Marius

Rate this article: 

Average: 5 (2 votes)

Comments

Hi Marius! Thanks for the tips.

Cheers,
J.

test comment

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
 

Portfolio

Samples of work done for me or my customers, for free or not, like websites, repairs, photography etc.
View all my recent work

 

Tutorials

I'm giving away some knowledge in my areas of expertise. Did you like something here? Share it please!
View all tutorials

 

Snippets

Useful Linux commands or other code snippets I often use.
View my useful shortcuts

 

Resources

Few bookmarks I find useful. Do you want website here? Give me a good reason and I can help you.
View my favourite web resources

About me

Hi there! My name is Marius Cârneală.

About me?

Loving husband, dad of one two three, drone pilot, web designer and administrator, SEO specialist, IT support guy, electronic hobbyist and content writer. This list is open.