The Wysiwyg installation instructions tell me to

Extract the archive and copy its contents into a new folder in the following location: sites/all/libraries/ckeditor

So the actual library can be found at: sites/all/libraries/ckeditor/ckeditor.js

These 2 conditions are met, however in the overview of editors, the CKEditor is now red. So it sees something is there, it's just not right. What can be wrong? where should i be looking to troubleshoot?

4 Answers 4


The WYSIWYG module is not compatible with CKEditor 4, because CKEditor 4 uses double quotes " around it's version string, where CKEditor 3 used single quotes '. This breaks the version detection regex in the WYSIWYG module.

You could use CKEditor 3, like Bruno suggests, or you could patch the WYSIWYG module like described here https://drupal.org/comment/6790812#comment-6790812.

In editors/ckeditor.inc, replace line 81:

if (preg_match('@version:\'(?:CKEditor )?([\d\.]+)(?:.+revision:\'([\d]+))?@', $line, $version)) {


if (preg_match('@version:[\"|\'](?:CKEditor )?([\d\.]+)(?:.+revision:[\"|\']([\d]+))?@', $line, $version)) {

If you're not bound to using the WYSIWYG module, you could also use the CKEditor module.

  • This is not entirely true as the dev version does support Ckeditor 4 versions. We are currently running it on several sites. See drupal.org/node/596966 Sep 18, 2014 at 13:48
  • Not realizing how old this post was the original answer was correct at the time. Sep 18, 2014 at 13:50

Try an older version of the editor, some newer doesn`t support by the wysiwyg module. Look at the name of the .js data file.

  • 1
    Great, that was it, thanks. V3.6.6.1 gives no problems
    – Wyguf Seak
    Dec 28, 2013 at 12:13

You can too use the "dev" branch of the "wysiwyg" module.

  • Can you elaborate on this? Is there a particular post in the issue queue that says that this has been patched in dev branch?
    – mpdonadio
    Apr 28, 2014 at 13:31
  • drupal.org/node/596966 Sep 18, 2014 at 13:49
  • To elaborate, to use the CKeditor 4.x library with the wysiwyg module, you need to use the wysiwyg 7.x-2.x-dev module. You can view the exact supported editors in conjunction with this module at drupal.org/node/596966. Otherwise, the stable release of wysiwyg hasn't been updated since 2012 and only supports CKeditor 3.x libraries.
    – PWM
    Jul 22, 2015 at 17:16

wyguf seak is correct the older version WILL work. go to http://ckeditor.com/download/releases and 3.6.1 and that will work for you.

The latest version did not work for me, so I went for older versions

  • Is it an answer or comment to another answer? With reputation, you will gain sufficient privileges to upvote answers you like, and to comment on answers you find incomplete. When you write an answer, it should be a full, independent answer, not something that makes no sense without another answer.
    – Mołot
    Sep 18, 2014 at 13:16
  • My apologies, please can you remove it. Or I can, I thought my answer was helpful. Apologies.
    – jelly46
    Sep 18, 2014 at 16:08
  • Best way is to edit, update and make it better. If there is something not yet covered in other answers, probably you could just update yours to look less like a comment? Hint: Who said what has little to no importance; only technical aspects really matters. And if you agree with something, make sure it's obvious what is it, without scrolling back to other posts :) Your answer was not downvoted, it's not terrible. It might be better - that's all.
    – Mołot
    Sep 18, 2014 at 16:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.