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

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 UTC