Hi @all,

please see #2102179: Drupal.behaviors.attachWysiwyg.detach causes problems with Field collection module for an error report, that is caused by this module. Obviously the Drupal.media.filter.create_element() method receives different type of arguments (sometimes an array), wchich results in a JS error for multi-valued WYSIWYG editor fields.

I noticed that, when receiving an array, the item count of this array is exactly the number of WYSIWYG editor fields... so I guess there is a selector problem or something... And #1630288: Upload image freeze on wysiwyg integration with multi field media seems to derive from the same selector issue.

Comments

Devin Carlson’s picture

k.minkov’s picture

I experienced same problem with 7.x-2.0-alpha3 version. I couldn't find a proper solution for it in the linked issues. The fix suggested here (https://drupal.org/node/2102179) works perfectly.

malc0mn’s picture

Just to add that https://www.drupal.org/node/2102179 fixes the field_collection perfectly and, yes, cross posting to get this one some attention again...

mlc.