<!-- Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest version of the relevant Lexical packages to make sure your issue has not already been fixed. --> Lexical version: latest on playground as of today (sorry, I'm not sure where to find it) ## Steps To Reproduce 1. Open a new Google Doc 2. Enter some text, then a new line using `Shift`+`Enter` (note that if you use just `Enter` it works fine) 3. enter some text on the second line 4. copy both lines 5. Paste them in a lexical editor <!-- Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than Lexical. Issues without reproduction steps or code examples may be closed as not actionable. --> Text copied in Google Docs: <img width="1116" alt="Screenshot 2022-12-13 at 14 52 22" src="https://user-images.githubusercontent.com/9288246/207347169-e51e731f-2e6d-4b14-a4bd-957df7132954.png"> Pasted in Lexical:  Clipboard content for the example images above `public/html`: ``` <meta charset='utf-8'><meta charset="utf-8"><b style="font-weight:normal;" id="docs-internal-guid-545ebf83-7fff-b767-e61b-5f1d46955a56"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">Line 1</span><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;"><br /></span><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">Line 2</span></b> ``` Note that the text is not wrapped in `p` elements but there are `br` elements that should be inserted as line breaks. <!-- Please provide a CodeSandbox (https://codesandbox.io/s/new) or (https://codesandbox.io/s/lexical-plain-text-example-g932e), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. You may provide a screenshot of the application if you think it is relevant to your bug report. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve. --> ## The current behavior The two lines are inserted as one line, the line break is lost. ## The expected behavior The two lines are inserted as two separate lines in lexical.
Activity