title: Drupal 7 CKEditor while replacing from textarea media files are not rendering
body: <p>I'm working with Drupal 7 + WYSIWYG module + CKEditor + Field Collection.</p>
  <p>My issue is, CKEditor is not rendering the media files which is included through media browser.</p>
  <p>Steps to reproduce:</p>
  <ol>
  <li><p>Create field collection field with unlimited occurrence.</p>
  </li>
  <li><p>Add some text and audio/video/document file using media browser with media teaser setting.</p>
  </li>
  <li><p>Now click &quot;Add another item&quot; button.</p>
  </li>
  <li><p>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.</p>
  </li>
  </ol>
  <p>My tries:</p>
  <p>I manually included a textarea with the value</p>
  <pre><code>[[{&quot;fid&quot;:&quot;5&quot;,&quot;view_mode&quot;:&quot;preview&quot;,&quot;fields&quot;:{},&quot;type&quot;:&quot;media&quot;,&quot;link_text&quot;:&quot;video 1 test.mp4&quot;,&quot;attributes&quot;:{&quot;class&quot;:&quot;file media-element file-preview&quot;}}]]
  </code></pre>
  <p>and tried to replace with CKEditor in browser <code>CKEDITOR.replace('edit-textarea');</code> but the result was,
  <img src="https://i.stack.imgur.com/PuKs9.png" alt="my result" /></p>
  <p>Any idea what is going wrong here?</p>