diff --git a/packages/extension-history/index.ts b/packages/extension-history/index.ts index 1319d95a..07eac3e4 100644 --- a/packages/extension-history/index.ts +++ b/packages/extension-history/index.ts @@ -1,4 +1,4 @@ -import Editor, { Extension, CommandSpec } from '@tiptap/core' +import { Extension, CommandSpec } from '@tiptap/core' import { history, undo, @@ -45,19 +45,4 @@ export default class History extends Extension { ] } - // commands() { - // return { - // undo: (next, { view }) => { - // undo(view.state, view.dispatch) - // next() - // }, - // redo: (next, { view }) => { - // redo(view.state, view.dispatch) - // next() - // }, - // // undoDepth: () => undoDepth, - // // redoDepth: () => redoDepth, - // } - // } - } \ No newline at end of file