diff --git a/src/MarkdownTextInput.web.tsx b/src/MarkdownTextInput.web.tsx index 99efd9f3..bd76f616 100644 --- a/src/MarkdownTextInput.web.tsx +++ b/src/MarkdownTextInput.web.tsx @@ -364,11 +364,6 @@ const MarkdownTextInput = React.forwardRef( text = parseText(divRef.current, changedText, processedMarkdownStyle).text; } - const selectionAfterTextChange = CursorUtils.getCurrentCursorPosition(divRef.current); - if (selectionAfterTextChange) { - contentSelection.current = selectionAfterTextChange; - } - if (pasteRef?.current) { pasteRef.current = false; updateSelection(e);