This commit is contained in:
Philipp Kühn
2020-03-30 12:40:25 +02:00
parent 9c6e553a2b
commit fd476901c4
9 changed files with 92 additions and 6 deletions

View File

@@ -38,10 +38,16 @@ export default class History extends Extension {
// commands() {
// return {
// undo: () => undo,
// redo: () => redo,
// undoDepth: () => undoDepth,
// redoDepth: () => redoDepth,
// undo: (next, { view }) => {
// undo(view.state, view.dispatch)
// next()
// },
// redo: (next, { view }) => {
// redo(view.state, view.dispatch)
// next()
// },
// // undoDepth: () => undoDepth,
// // redoDepth: () => redoDepth,
// }
// }