[wp-trac] [WordPress Trac] #19845: Drag and drop files into the Visual Editor
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 3 06:56:31 UTC 2012
#19845: Drag and drop files into the Visual Editor
-----------------------------+------------------
Reporter: kovshenin | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 3.5
Component: Media | Version:
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------
Comment (by azaozz):
Updated the test plugin, has all the basic code (tested in Firefox and
Chrome, needs testing in IE10):
- When an image is dropped in the visual editor, it is "cloned" and
displayed straight away (with progress bar as overlay), then uploaded in
the background and when done, the preview is replaced with a "real" <img>
tag.
- Supports non-image files, inserts a link to the file after the upload is
complete.
- Supports uploading of multiple images/files.
- To-do: add "Cancel" button on the overlay, refine the styling, add error
display, decide how to handle errors (what happens with the preview after
we display an error).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19845#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list