When you insert a new node, a blank div is inserted into the WYSIWYG. It doesn't get the title/content until you save and reload.

CommentFileSizeAuthor
#2 no_embed_title-2473615-2.patch3.21 KBAnonymous (not verified)
#1 no_embed_title-2473615-1.patch2.64 KBAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

The attached patch adds the 'preview' attribute to the data array that is returned to provide the title/content for the embed div.

Anonymous’s picture

FileSize
3.21 KB

Updated the patch so that if preview is returned, it's not added as an attribute to the div, it's only added as content.