[wp-trac] [WordPress Trac] #35310: "Add Media" dropzone shouldn't take up the entire modal window

WordPress Trac noreply at wordpress.org
Mon Jan 4 21:41:45 UTC 2016


#35310: "Add Media" dropzone shouldn't take up the entire modal window
--------------------------------+-----------------------------
 Reporter:  r-a-y               |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Upload              |    Version:  4.0
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 As @ocean90 mentioned in #28851,

 > the whole `["Add Media" modal window]` is a dropzone for the uploader.

 For example, if you drag and drop an item over the left, gray column where
 the "Create Gallery", "Create Audio Playlist" and "Featured Image" links
 are, the "Add Media" window will show that the dropzone covers this area
 as well.

 Since I'm attempting to write a plugin to add an extra plupload drag-and-
 drop instance in the existing "Add Media" modal window, my custom dropzone
 will not take effect because WP's dropzone has precedence.

 Would it be possible to limit WP's uploader dropzone to the "Insert Media
 > Upload Files" tab only?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35310>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list