We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88401e9 commit 38ae91aCopy full SHA for 38ae91a
src/lib/components/common/RichTextInput.svelte
@@ -691,7 +691,12 @@
691
element: element,
692
extensions: [
693
StarterKit.configure({
694
- link: link
+ link: link,
695
+ // When rich text is off, disable Strike from StarterKit so we can
696
+ // re-add it below without its Mod-Shift-s shortcut (which conflicts
697
+ // with the Toggle Sidebar shortcut). When rich text is on, the user
698
+ // can undo strikethrough via the toolbar, so the shortcut is fine.
699
+ ...(richText ? {} : { strike: false })
700
}),
701
...(dragHandle ? [ListItemDragHandle] : []),
702
Placeholder.configure({ placeholder: () => _placeholder, showOnlyWhenEditable: false }),
0 commit comments