Add support for historical paths
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Extension } from 'tiptap'
|
||||
import { history, undo, redo } from 'prosemirror-history'
|
||||
import { history, undo, redo, undoDepth, redoDepth } from 'prosemirror-history'
|
||||
|
||||
export default class History extends Extension {
|
||||
|
||||
@@ -37,6 +37,8 @@ export default class History extends Extension {
|
||||
return {
|
||||
undo: () => undo,
|
||||
redo: () => redo,
|
||||
undoDepth: () => undoDepth,
|
||||
redoDepth: () => redoDepth,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user