Make WordPress Core


Ignore:
Timestamp:
03/01/2014 09:33:36 PM (11 years ago)
Author:
nacin
Message:

Add the ability to drag and drop files directly onto the editor.

The file will then begin to upload and the media manager will open.

props kovshenin.
see #19845.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r27316 r27343  
    4242    </script>
    4343
     44    <script type="text/html" id="tmpl-uploader-editor">
     45        <div class="uploader-editor-content">
     46            <h3><?php _e( 'Drop files to upload' ); ?></h3>
     47        </div>
     48    </script>
     49
    4450    <script type="text/html" id="tmpl-uploader-inline">
    4551        <# var messageClass = data.message ? 'has-upload-message' : 'no-upload-message'; #>
Note: See TracChangeset for help on using the changeset viewer.