a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

don't prevent default at top of selection handler

+2 -1
+2 -1
components/SelectionManager.tsx
··· 19 19 let { rep } = useReplicache(); 20 20 useEffect(() => { 21 21 let listener = async (e: KeyboardEvent) => { 22 - if (e.defaultPrevented) return; 23 22 if (e.key === "Backspace" || e.key === "Delete") { 24 23 if (moreThanOneSelected) { 25 24 let selectedBlocks = useUIState.getState().selectedBlock; ··· 67 66 { type: "start" }, 68 67 ); 69 68 } else { 69 + if (e.defaultPrevented) return; 70 70 if ( 71 71 selectedBlocks.length <= 1 || 72 72 !focusedBlock || ··· 169 169 ); 170 170 } 171 171 if (e.shiftKey) { 172 + if (e.defaultPrevented) return; 172 173 if ( 173 174 selectedBlocks.length <= 1 || 174 175 !focusedBlock ||