Rich text editing is removed on all fields if a condition applied on any.

Comments

cristian100’s picture

Issue summary:View changes

I can reproduce this issue, and happened to me in the following scenario:

I have a field collection on the content type:
field_collection_1

which has 2 fields,
field_collection-2>field_first
field_collection_1->field_last

I set a conditions here, to show field_last once there is something in field_first.

It works great,

Now, we needed a second field_collection, a clone of the last one, that would appear separated from the first one (therefore unlimited setting is out of the solution).
So, I create:
field_collection_2

And I import the same fields that I used at the other field_collection_1:
field_collection_2->field_first
field_collection_2->field_last

I set the conditions the same way, and wallaaa, when I'm trying to create a node that uses those two field_collections, breaks jquery and ckeditor along.

My guess is that is having problems with "different" field collections, having the same exact name for the fields... and I see that if I create different field names (not reusing) inside the field_collection_2, this problem doesn't happen.

ajFernandez’s picture

Hi,

if you update to the latest dev version it works! I am using wysiwyg 7.x-2.2+54-dev and CKEditor 4.4.5.25cdcad. I am using JQuery update to 1.8 version too.

;)

nicoz’s picture

This is still broken in the latest dev. It also breaks the display of the GMap module too.