W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2012

[whatwg] contentEditable and drag and drop cancel

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Tue, 31 Jan 2012 21:10:30 -0800
Message-ID: <CABNRm61rSOnMmh4YCyV6ssWB5fkT7X2iL2v5D3wgYNqw6cmz9A@mail.gmail.com>
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.
Received on Tuesday, 31 January 2012 21:10:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:10 UTC