1

I'm working with Drupal 7 + WYSIWYG module + CKEditor + Field Collection.

My issue is, CKEditor is not rendering the media files which is included through media browser.

Steps to reproduce:

  1. Create field collection field with unlimited occurrence.
  2. Add some text and audio/video/document file using media browser with media teaser setting.
  3. Now click "Add another item" button.

That's it now new field will be added, but the previous field will only have the text you entered, the media will be gone.

When I debugged the field, I found the values in hidden textarea. When CKEditor tries to render the values, media elements are not rendering.

enter image description here

1 Answer 1

0

After a long research I found one solution from here.

The patch they provided works for me.

https://www.drupal.org/files/issues/interdiff_8413.txt

I will leave this question open, so that others can get some help from this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.