Opened 9 years ago
Last modified 5 years ago
#35310 new defect (bug)
"Add Media" dropzone shouldn't take up the entire modal window
Reported by: | r-a-y | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | Upload | Keywords: | 2nd-opinion |
Focuses: | ui, administration | Cc: |
Description
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?
Note: See
TracTickets for help on using
tickets.
IMHO The dropzone should probably stay as the entire modal, but only active when on a core upload screen.
When a custom tab is in view, the core dropzone should be disabled.