mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-24 01:57:53 +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: http://core.svn.wordpress.org/trunk@23042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d47267224c
commit
bd5956087a
@ -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…
Reference in New Issue
Block a user