@expensify/react-native-live-markdown 0.1.90 → 0.1.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -519,8 +519,13 @@ const MarkdownTextInput = React.forwardRef<TextInput, MarkdownTextInputProps>(
519
519
  [onClick, updateSelection],
520
520
  );
521
521
 
522
- const handlePaste = useCallback(() => {
522
+ const handlePaste = useCallback((e) => {
523
523
  pasteRef.current = true;
524
+ e.preventDefault();
525
+
526
+ const clipboardData = e.clipboardData;
527
+ const text = clipboardData.getData('text/plain');
528
+ document.execCommand('insertText', false, text);
524
529
  }, []);
525
530
 
526
531
  const startComposition = useCallback(() => {