From 10cc39c0e361fce68779cd83da50956aff96d608 Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Wed, 1 Oct 2025 10:06:18 -1000 Subject: [PATCH] prevent cut on multi-block strikethrough --- components/SelectionManager.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/SelectionManager.tsx b/components/SelectionManager.tsx index eab46624..1fbc46b9 100644 --- a/components/SelectionManager.tsx +++ b/components/SelectionManager.tsx @@ -511,7 +511,7 @@ export function SelectionManager() { } if ((e.key === "c" || e.key === "x") && (e.metaKey || e.ctrlKey)) { if (!rep) return; - if (e.shiftKey) return; + if (e.shiftKey || (e.metaKey && e.ctrlKey)) return; let [, , selectionWithFoldedChildren] = await getSortedSelectionBound(); if (!selectionWithFoldedChildren) return; -- 2.54.0