Drupal 7: Ckeditor 4.2 – The version of CKEditor could not be detected (fixed)

In the file /sites/all/modules/wysiwyg/editors/ckeditor.inc

Wysiwyg version = “7.x-2.2”

change line 81

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

to

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

Leave a Reply

Your email address will not be published. Required fields are marked *