[whatwg] Fixing undo on the Web - UndoManager and Transaction
ajvincent at gmail.com
Wed Jul 27 20:34:59 PDT 2011
> In the last couple of weeks, I've been working with developers of CKEditor,
> TinyMCE, and Google Docs to come up with *new API for undo and redo*.
I'd like to take a look at this and be very closely involved in this
specification. About a month ago, I wrote this:
I've been working on my own prototype editor project for years (it may
replace Duke Nukem Forever as king of vaporware at the rate I'm going, but
I'm still working on it), and I've had some definite thoughts on undo
management. API's like this interest me quite a bit.
Also see https://bugzilla.mozilla.org/show_bug.cgi?id=617532 - where Mozilla
is considering their own API proposals.
One use case I've envisioned is an undo popup menu, where each item of the
undo stack has an actual label to go with it, describing the transaction.
Then you could easily see how many items you wanted to go back!
I'd be happy to take this off-list, or keep it on-list, whatever you prefer.
"The first step in confirming there is a bug in someone else's work is
confirming there are no bugs in your own."
-- Alexander J. Vincent, June 30, 2001
More information about the whatwg