a tool for shared writing and social publishing

don't select if in one text block

+7
+7
components/SelectionManager.tsx
··· 494 494 if (!rep) return; 495 495 let [, , selectionWithFoldedChildren] = await getSortedSelection(); 496 496 if (!selectionWithFoldedChildren) return; 497 + 498 + let el = document.activeElement as HTMLElement; 499 + if ( 500 + el.contentEditable === "true" && 501 + selectionWithFoldedChildren.length <= 1 502 + ) 503 + return; 497 504 e.preventDefault(); 498 505 await copySelection(rep, selectionWithFoldedChildren); 499 506 }