W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2010

canceling undo/redo events

From: Tony Chang <tony@chromium.org>
Date: Wed, 16 Jun 2010 10:52:50 +0900
Message-ID: <AANLkTiniJoVNBQ5RR81wiWPzCEM47cRJDIvfIJj3xuzV@mail.gmail.com>
To: www-dom@w3.org
I'm looking for providing a way for sites to cancel text modifications
caused by undo and redo.  It seems like the textInput event should fire when
the user invokes undo or redo.  Would it make sense to fire textInput for
undo/redo and maybe add a new InputMethodCode
(e.g., DOM_INPUT_METHOD_UNDO_REDO) for this type of input?  This would fire
before changes were made to the DOM and be cancelable.

Received on Wednesday, 16 June 2010 01:53:19 UTC

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