When inserting text in front of the first media, text is automatically deleted by TinyMCE, but only if the media was created in the first place before you enter the text.

Detailed description:

  1. Insert picture or video as the first element in the body field using the media browser button
  2. Then try and insert text above (or in front) the picture or video
  3. When you hit save the text inserted is automatically deleted

Stack:
media: 7.x-2.0-alpha3
wysiwyg: 7.x-2.2
tinymce: 3.5.10

 text disappears when added in front of inserted media

CommentFileSizeAuthor
media-wysiwyg-text-disappears.png214.24 KBsiva_epari
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ziobudda’s picture

Some additional info: If i follow point 1-2-3 and then I disable html editor I see this:

<p>&nbsp;</p><p><!--MEDIA-WRAPPER-END-1--></p>

Note

I use ckeditor 3.6.x

Chris Matthews’s picture

Version: 7.x-2.0-alpha3 » 7.x-2.x-dev
Status: Active » Closed (outdated)

Closing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team