a tool for shared writing and social publishing
0
fork

Configure Feed

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

fix bug in selection preventing triple click

+1 -2
+1 -2
components/Blocks.tsx
··· 48 48 let entityIDs: string[] = []; 49 49 for (let child of contents.children) { 50 50 let entityID = child.getAttribute("data-entityid"); 51 - if (entityID) entityIDs.push(entityID); 51 + if (entityID && child.textContent !== "") entityIDs.push(entityID); 52 52 } 53 53 useUIState.getState().setSelectedBlocks(entityIDs); 54 54 } else { 55 - useUIState.getState().setSelectedBlocks([]); 56 55 } 57 56 } else { 58 57 if (ref.current) ref.current.contentEditable = "false";