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({
|
const CalloutTyping = Extension.create({
|
||||||
name: 'calloutTyping',
|
name: 'calloutTyping',
|
||||||
addProseMirrorPlugins() {
|
addProseMirrorPlugins() {
|
||||||
@@ -4287,6 +4296,7 @@
|
|||||||
}),
|
}),
|
||||||
CtrlEndScrollPastEnd,
|
CtrlEndScrollPastEnd,
|
||||||
HeadingShortcuts,
|
HeadingShortcuts,
|
||||||
|
StrikeShortcut,
|
||||||
WrapSelectedText,
|
WrapSelectedText,
|
||||||
SlashCommands,
|
SlashCommands,
|
||||||
TaskMetaMenu,
|
TaskMetaMenu,
|
||||||
|
|||||||
Reference in New Issue
Block a user