a tool for shared writing and social publishing
0
fork

Configure Feed

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

tweak selection manager logic

+2 -1
+2 -1
components/SelectionManager.tsx
··· 500 500 "data-entityid", 501 501 ); 502 502 useSelectingMouse.setState({ start: entityID }); 503 - initialContentEditableParent.current = contentEditableParent; 504 503 } 504 + initialContentEditableParent.current = contentEditableParent; 505 505 }; 506 506 let mouseUpListener = (e: MouseEvent) => { 507 507 savedSelection.current = null; ··· 514 514 window.getSelection()?.removeAllRanges(); 515 515 }, 5); 516 516 } 517 + initialContentEditableParent.current = null; 517 518 useSelectingMouse.setState({ start: null }); 518 519 setMouseDown(false); 519 520 };