Re: [w3c/editing] undo manager (#209)

I think a few additions to the proposal could make it possible to combine the two approaches:

1. Add an extra member to the `UndoItem` interface that holds a reference to the DOM element that is the target
1. Add user-configurable callbacks to `UndoManager` so that user code can be notified when the user agent wants to add new `UndoItem` to the history and integrate those elements within its own storage so that they can be undone or redone

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/209#issuecomment-561348264

Received on Tuesday, 3 December 2019 20:42:41 UTC