mirror of
https://github.com/priyanshujain/margin.git
synced 2026-10-02 19:17:03 +00:00
12 lines
229 B
TypeScript
12 lines
229 B
TypeScript
import { Extension } from "@tiptap/core";
|
|
|
|
export const Shortcuts = Extension.create({
|
|
name: "shortcuts",
|
|
|
|
addKeyboardShortcuts() {
|
|
return {
|
|
"Mod-Shift-x": () => this.editor.commands.toggleStrike(),
|
|
};
|
|
},
|
|
});
|