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

WordPress Trac noreply at wordpress.org
Tue Mar 11 23:47:48 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 azaozz):

 > I was thinking of simply checking whether the event contains a file when
 dragging.

 This works too. When dragging an image in TinyMCE, you're actually
 dragging the HTML <img> tag, not the file. So it doesn't trigger. Breaks
 the "drag directly over the editor" hack though, will have to bypass that
 somehow.

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


More information about the wp-trac mailing list