mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-07-24 07:45:57 +02:00
Fix strikethrough keyboard shortcut (#205)
This commit is contained in:
@@ -1052,6 +1052,15 @@
|
||||
},
|
||||
});
|
||||
|
||||
const StrikeShortcut = Extension.create({
|
||||
name: 'strikeShortcut',
|
||||
addKeyboardShortcuts() {
|
||||
return {
|
||||
'Mod-Shift-x': () => this.editor.commands.toggleStrike(),
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
const CalloutTyping = Extension.create({
|
||||
name: 'calloutTyping',
|
||||
addProseMirrorPlugins() {
|
||||
@@ -4287,6 +4296,7 @@
|
||||
}),
|
||||
CtrlEndScrollPastEnd,
|
||||
HeadingShortcuts,
|
||||
StrikeShortcut,
|
||||
WrapSelectedText,
|
||||
SlashCommands,
|
||||
TaskMetaMenu,
|
||||
|
||||
Reference in New Issue
Block a user