WordPress.org

Make WordPress Core

Changeset 23042


Ignore:
Timestamp:
12/04/12 20:52:58 (3 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/media-editor.js

    r23012 r23042  
    402402                    return this.send.attachment( display, attachment.toJSON() ); 
    403403                }, this ) ).done( function() { 
    404                     wp.media.editor.insert( _.toArray( arguments ).join('') ); 
     404                    wp.media.editor.insert( _.toArray( arguments ).join("\n\n") ); 
    405405                }); 
    406406            }, this ); 
Note: See TracChangeset for help on using the changeset viewer.