a tool for shared writing and social publishing

prevent cut on multi-block strikethrough

+1 -1
+1 -1
components/SelectionManager.tsx
··· 511 } 512 if ((e.key === "c" || e.key === "x") && (e.metaKey || e.ctrlKey)) { 513 if (!rep) return; 514 - if (e.shiftKey) return; 515 let [, , selectionWithFoldedChildren] = 516 await getSortedSelectionBound(); 517 if (!selectionWithFoldedChildren) return;
··· 511 } 512 if ((e.key === "c" || e.key === "x") && (e.metaKey || e.ctrlKey)) { 513 if (!rep) return; 514 + if (e.shiftKey || (e.metaKey && e.ctrlKey)) return; 515 let [, , selectionWithFoldedChildren] = 516 await getSortedSelectionBound(); 517 if (!selectionWithFoldedChildren) return;