Skip to content

Commit 5d60adb

Browse files
committed
feat: add shortcutKeys override(s) to extensions
1 parent 2012590 commit 5d60adb

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/extensions/Indent/Indent.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Extension } from '@tiptap/core';
2-
import type { Editor } from '@tiptap/core';
32

43
import { ActionButton } from '@/components';
54
import type { GeneralOptions } from '@/types';

src/extensions/Italic/Italic.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import type { Editor } from '@tiptap/core';
21
import type { ItalicOptions as TiptapItalicOptions } from '@tiptap/extension-italic';
32
import TiptapItalic from '@tiptap/extension-italic';
43

@@ -11,7 +10,6 @@ export const Italic = /* @__PURE__ */ TiptapItalic.extend<ItalicOptions>({
1110
addOptions() {
1211
return {
1312
...this.parent?.(),
14-
// button({ editor, t, extension }: { editor: Editor, t: (...args: any[]) => string }) {
1513
button({ editor, t, extension }) {
1614
return {
1715
component: ActionButton,

0 commit comments

Comments
 (0)