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 block shift click in single text area

+5
+5
components/Blocks/useBlockMouseHandlers.ts
··· 14 14 (e: MouseEvent) => { 15 15 useSelectingMouse.setState({ start: props.value }); 16 16 if (e.shiftKey) { 17 + if ( 18 + useUIState.getState().selectedBlock[0].value === props.value && 19 + useUIState.getState().selectedBlock.length === 1 20 + ) 21 + return; 17 22 e.preventDefault(); 18 23 useUIState.getState().addBlockToSelection(props); 19 24 } else useUIState.getState().setSelectedBlock(props);