[whatwg] contentEditable and drag and drop cancel

Ryosuke Niwa rniwa at webkit.org
Tue Jan 31 21:10:30 PST 2012


On Wed, Jan 18, 2012 at 4:11 PM, Charles Pritchard <chuck at jumis.com> wrote:

> 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.
>

Could you elaborate on what you mean by "to move the cursor" is canceled?
Are you saying that the caret won't move to where the mouse pointer is? On
which browser did you test this behavior?

Best,
Ryosuke Niwa
Software Engineer
Google Inc.



More information about the whatwg mailing list