mirror of
git://develop.git.wordpress.org/
synced 2025-02-28 10:33:05 +01:00
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:
parent
6d580e34db
commit
d1c428faed
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user