[wp-trac] [WordPress Trac] #19845: Drag and drop files into the Visual Editor
WordPress Trac
noreply at wordpress.org
Tue Mar 11 12:23:37 UTC 2014
#19845: Drag and drop files into the Visual Editor
-------------------------------------+-------------------------
Reporter: kovshenin | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.9
Component: Media | Version:
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses: javascript
-------------------------------------+-------------------------
Comment (by kovshenin):
Replying to [comment:46 azaozz]: I was thinking of simply checking whether
the event contains a file when dragging. If it does, show the dropzones,
see [attachment:19845.7.diff]. The original dropzone in the media modal
can benefit from a similar approach.
The "close on click" idea sounds neat. I've been able to reproduce it in
Safari a couple of times when a file is dropped but fails to init an
upload for some reason, and not only on the editor but also in the media
modal.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19845#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list