This commit is contained in:
Timothy Jaeryang Baek
2026-02-15 23:35:40 -06:00
parent 88401e91c7
commit 38ae91ae23
@@ -691,7 +691,12 @@
element: element,
extensions: [
StarterKit.configure({
link: link
link: link,
// When rich text is off, disable Strike from StarterKit so we can
// re-add it below without its Mod-Shift-s shortcut (which conflicts
// with the Toggle Sidebar shortcut). When rich text is on, the user
// can undo strikethrough via the toolbar, so the shortcut is fine.
...(richText ? {} : { strike: false })
}),
...(dragHandle ? [ListItemDragHandle] : []),
Placeholder.configure({ placeholder: () => _placeholder, showOnlyWhenEditable: false }),