On Drupal 7.12 I have CK Editor working OK EXCEPT FOR THE BODY FIELD OF ONE Content Type.

I added a dummy "long text and summary" field on that content type and it doesn´t work either. In every other content type it works OK. I´m also using the Fieldgroup module ver 7.x-1.1+65-dev, but I created an extra content type to see if it was some type of incompatibility, but CK Editor keeps working on the dummy content type, but not in the first one.

The behaviour is that instead of showing the CK Editor window the field to edit appears as a plain text one. It can be edited but without CK Editor user interface.

I know that one possible solution may be recreate the problematic content type but I will appreciate any clue that does not need to rewrite all the display and feeds interface.

Thanks!

Comments

margaux’s picture

I had this problem too, and am also using the Fieldgroup module.

In my case, I had been trying to use Fieldgroup on the "manage fields" side, in order to collapse some rarely-used fields on the administrative side of things. It didn't end up accomplishing what I wanted, but I didn't bother to un-group them. Still, this was apparently the cause for WYSIWYG / CKEditor not loading on this content type, even though the field in question was not one of the ones I'd been trying to group.

To resolve, I removed the grouped fields from the group on the "manage fields" display, deleted the group from "manage fields" display, and saved changes to the content type. Editor now loads correctly on the "body" field.

I have been using Fieldgroup to group fields on the "manage display" side, and it does not cause a problem. CKEditor works fine on all fields.

madhuri123’s picture

Issue summary:View changes

Hi Team,

I have rendered two forms in one template.
Like:
$form1 = drupal_render(node_add('story'));
$form2 = drupal_render(node_add('design'));

The CKEditor shows only on first content type.

How to set it for both content type having body field?

Thanks,
Madhuri

jordilopezamat’s picture

I was (apparently) having the same issue.

In my case the solution was so stupid like adjusting the given 'Content Type' field , 'Text processing' settings from a) 'Plain text' to b) 'Filtered text (user selects text format)'.
Obviously CKEditor buttons appeared afterwards.

sambot’s picture

This definitely has something to do with Fieldgroups... but for me, it reared its ugly head after I had nested a Fieldgroup within a Fieldgroup. Once I removed the nesting, CKEditor snapped back into place. Fieldgroups and CKEditor can play nicely, but nesting Fieldgroups seems to break things.

Vako’s picture

I have a similar case, this time the editor doesn't load the toolbar in Event content types. All other content types work ok.
I haven't changed any default setting for the Event content type.
Am using CKEditor 6.x-1.15 and the library is in sites/all/libraries/ckeditor

Any suggestions?