From 925215367d5ee433df3c5da39d8054ee40fd85cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Mon, 13 Apr 2020 13:58:30 +0200 Subject: [PATCH] refactoring --- packages/extension-history/index.ts | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) 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