Download & Extend

New CKEditor 4.0.1 release

Project:Wysiwyg
Version:7.x-2.2
Component:Editor - CKEditor
Category:bug report
Priority:normal
Assigned:neofelis1985
Status:closed (duplicate)

Issue Summary

A new CKEditor 4.0.1 is since today released.

I updated the editor and now i see in backend following error message:

Notice: Undefined offset: 2 in wysiwyg_ckeditor_version() (Line 85 from ckeditor.inc).

Comments

#1

Same problem here.
I've solved it replacing
return $version[1] . '.' . $version[2];
with
return $version[1];
in modules/wysiwyg/editors/ckeditor.inc line 85

Previously, I've done this too: http://drupal.org/node/1853550

#2

#1 helped, thanks, I created a patch

AttachmentSize
wysiwyg-newckeditor4-1883456.patch 481 bytes

#3

Status:active» needs review

#4

Status:needs review» closed (duplicate)

Sorry, but that patch will break CKEditor 3.x versions, please note the comment above those lines.
I'll merge this into #1853550: Ckeditor 4.0 - The version of CKEditor could not be detected. since it's the same basic problem with all 4.x releases.

#5

Thanks...#1 fixed my issue!

#6

#1 worked perfect for me. Thanks!

nobody click here