codemirror-blocks
codemirror-blocks copied to clipboard
Refactor undo/redo handling
There are a few problems with this:
- [ ]
undoableActionin 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.getTopmostActionfor examples.