Media: When doing a multiple-insert into the editor, separate each inserted item with two line breaks. props tar.gz. see #22720.

git-svn-id: https://develop.svn.wordpress.org/trunk@23042 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-12-04 20:52:58 +00:00
parent 6d580e34db
commit d1c428faed
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@
var display = state.display( attachment ).toJSON();
return this.send.attachment( display, attachment.toJSON() );
}, this ) ).done( function() {
wp.media.editor.insert( _.toArray( arguments ).join('') );
wp.media.editor.insert( _.toArray( arguments ).join("\n\n") );
});
}, this );