Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2012 at 11:19 UTC
Updated:
18 Dec 2012 at 15:15 UTC
Hi, latest november 22 dev release throws this error in Chrome's inspector
Uncaught TypeError: Object [object Object] has no method 'addCss'
on line 46 and the editor can't be seen. Using the v4 nightly.
Cheers
Comments
Comment #1
dczepierga commentedCould you write in which file do u have this error?
Do u have any additional modules/plugins?
Greetings
Comment #2
Lux Delux commentedAh yes sorry for not including that. File is from the module
includes/ckeditor.utils.js
The only plugin I have activate is the CKEditor Link
http://drupal.org/project/ckeditor_link
Cheers
Comment #3
dczepierga commentedTry to update to last DEV. After update clear cache... it should work without any problem
Comment #4
Lux Delux commentedAt first it didn't work, but then I disabled the CKEditor Link module and it worked. This is with the latest dev release.
So it seems the link module needs to be updated? Don't know if I should post here or there
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.bad-good.org/sites/all/libraries/ckeditor/sites/all/modules/c...
somehow the module path gets weird
EDIT: this happens with the Linkit module too
Comment #5
dczepierga commentedI fix it and commit changes to GIT (diff).
Really thx for help and review module.
Pls update to last DEV version and check does it works now. If u have still problem with it pls write here.
Greetings
Comment #6
kevindeleon commentedReceiving the same error even with the nightly build. Editor is not showing in Firefox and Chrome.
Errors:
Chrome:
Uncaught TypeError: Object [object Object] has no method 'addCss'
Firefox:
Error: ev.editor.addCss is not a function
Source File: http://drupaltest.site/sites/all/modules/ckeditor/includes/ckeditor.util...
Line: 46
Version 3.6.5 works fine.
Comment #7
dczepierga commentedDo u clear cache in the Drupal after update?
U should have in file with error sth like this around line 45:
Could u check does u have it there?
Greetings
Comment #8
Kylie Morgan commentedI have cleared cache several times after installing on a fresh installation today. Still errors:
Edit: I didn't realize this was the dev version until after I posted, so this is still going on in the live version 7.x-1.9.
Comment #9
sfield commentedI am seeing this in the latest release, using Chrome on Windows 7.
The result is that the edit box is simply missing, replaced by a blank area, so no editing can be done.
Is there a known work-around until the fix is checked in?
In ckeditor.utils.js starting at line 42:
Comment #10
mfuggle commentedI am seeing this exact same issue on Safari as well. I have not updated to the latest dev and am using the 7.x-1.9 version.
Cheers
Martin Fuggle
Comment #11
Earwig commentedI've just updated to 7.x-1.9 and have the same problem.
Comment #12
dczepierga commentedFirst of all, CKEditor v4 not work with CKEditor module 7.x-1.9 !!!
Pls use last DEV version for it.
Here is issue to add support for CKEditor v4: #1847662: [D7] Add support for CKEditor v4.
If u found any bugs pls write there, and test it with last DEV version.
Greetings
Comment #13
Lux Delux commentedJust wanted to thank you for fixing all the problems, works fine here with the Link plugin. Cheers
Comment #14
irohit786 commentedThanks a trillion
Comment #15
pbattino commentedwell, if it does not work why the hell module 7.x-1.9 tells me to download it???
this is the message we get when we install 7.x-1.9 :
I follow the link and... guess what, the " latest version " is v4....
A good recipe for harvesting useless issue requests...
Comment #16
mkesicki commented@pbattino,
recently CKEditor 4 was released. This is big step and we are working hard to add support to it into our drupal modules. Ticket related with this is here: #1847662: [D7] Add support for CKEditor v4.
Generally latest stable version of CKEditor for drupal module 7.x-1.9 was compatible with CKEditor 3.x series.
Documentation says, that you should use latest stable version of CKEditor module and this is generally true , but please remember that now is a little crucial moment between change of major versions of CKEditor library. Sorry for misunderstanding.
Comment #17
mkesicki commentedComment #18
mkesicki commentedComment #19
rdy_kc commented>>Generally latest stable version of CKEditor for drupal module 7.x-1.9 was compatible with CKEditor 3.x series.
Understood this is the cause. Can anyone point me in the right direction for rolling back and implimenting CKEditor 3.x instead?