codemirror-blocks icon indicating copy to clipboard operation
codemirror-blocks copied to clipboard

Refactor undo/redo handling

Open pcardune opened this issue 4 years ago • 0 comments

There are a few problems with this:

  • [ ] undoableAction in the redux store is mutated directly. nothing in the redux store should ever be mutated.
  • [ ] it doesn't handle the case when there is no "topmost action" to undo/redo very well. See the call sites for ReadonlyCMBEditor.getTopmostAction for examples.

pcardune avatar Nov 16 '21 18:11 pcardune