[whatwg] contentEditable and drag and drop cancel
Charles Pritchard
chuck at jumis.com
Wed Jan 18 16:11:05 PST 2012
What was the verdict, or what is the current position on using drag and
drop dataTransfer with contentEditable?
As I understand things:
One must run ondragover = function() { return false; } to capture a drag
and drop data.
By returning false, the default behavior of a contentEditable box, which
is to move the cursor, is canceled.
Because of this, one can not drag and drop a file into a particular
place in a contentEditable box in one step.
One must first execute the data transfer, then drag and drop or click,
in the contentEditable box, to place the content.
-Charles
More information about the whatwg
mailing list