[wp-trac] [WordPress Trac] #19845: Drag and drop files into the Visual Editor

WordPress Trac noreply at wordpress.org
Tue Mar 4 15:15:59 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
-------------------------------------+-------------------------
Changes (by kovshenin):

 * keywords:  needs-testing => needs-testing has-patch


Comment:

 In [attachment:19845.6.diff]:

 * Use event propagation and $.closest() instead of pointer-events, which
 are not supported by many browsers, this should now work in IE10 and above
 * Add a fullscreen dropzone in DFW mode
 * Check the current browser for DnD and File API support before binding
 events

 Still not sure about non-file dragging but I think we can come up with
 something cleaner than .5.diff.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/19845#comment:44>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list