W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] oninput for contentEditable

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 15 Jul 2009 02:02:13 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0907150141210.23663@hixie.dreamhostps.com>
On Tue, 23 Jun 2009, Ojan Vafai wrote:
>
> Currently, textareas and text inputs support the "oninput" event that 
> fires on all user-initiated modifications to their content. We should 
> add this event to contentEditable elements as well and add an "action" 
> property the specifies what action the user took that caused the input 
> event.

I haven't yet added this.

I think we should probably address the various problems with 
contenteditable all at once, to make sure the solution is coherent 
overall. I'm watching what happens with the mutation event changes and 
tracking proposals for various other changes to contentEditable.

It may be that we need to defer these changes to after HTML5 reaches last
call, though, and have them in a future version next year some time.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 14 July 2009 19:02:13 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC