W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: Clipboard API spec should specify beforecopy, beforecut, and beforepaste events

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 02 May 2012 14:10:24 -0400
Message-ID: <4FA17890.9030802@mit.edu>
To: Ojan Vafai <ojan@chromium.org>
CC: public-webapps@w3.org
On 5/2/12 1:37 PM, Ojan Vafai wrote:
> With my used-to-maintain-a-rich-text-component hat on, I would have
> preferred a property to an event as an author. Most editing libraries
> already have code to update the depressed state of the toolbar buttons
> when the selection changes (e.g. depress the bold button if the selected
> text is bold). Updating a property somewhere would naturally extend out
> from there.

Ah, nice.  In that case, my vote is certainly for a mechanism like that!

-Boris
Received on Wednesday, 2 May 2012 18:10:57 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:52 GMT