W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2010

Re: beforecut/copy/paste events ( Re: some questions regarding clipboard event / clipboard data API)

From: Ojan Vafai <ojan@chromium.org>
Date: Tue, 2 Nov 2010 13:46:29 -0700
Message-ID: <AANLkTi=yUGwtpykj6Uqk0-e5MMeWPr0Ei0igKS7vek85@mail.gmail.com>
To: "Hallvord R. M. Steen" <hallvord@opera.com>
Cc: Tony Chang <tony@chromium.org>, www-dom@w3.org
On Sun, Oct 31, 2010 at 8:42 PM, Hallvord R. M. Steen <hallvord@opera.com>wrote:

> This functionality is still too limited to cover all use cases. For
> example, one might want an application that handled beforepaste when the
> cursor was inside an editable element, determined by examining the
> event.clipboardData.types that the type(s) of content available on the
> clipboard were not suitable for pasting in the current location, and
> disabled the paste entry.
> The big question is of course whether we would get away with making before*
> events use the Event interface compatibility-wise. Opinions and experience
> here most welcome!

FWIW, I did an informal poll of people who work on editing at Google and
noone seems to use the before* events. One person mention the disabled state
in the menus, but didn't actually use it in any products. So, this seems
fine to me.

Received on Tuesday, 2 November 2010 20:47:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:16 UTC