You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I copied text from a Google Doc that has multiple lines that used shift-return instead of a normal carriage return / linebreak for some content (see just after the bold/italic "Summary" intro). When that was pasted into a brand new Post, it rendered oddly in the editor and on the frontend compared to how it looked in Google Docs. I tried to find an existing issue here and the closest I could find was #6132, but there's a lot going on in that issue and I'm only concerned with this "shift-return text paste issue" so here we are with a new issue. Apologies for the issue sprawl, but it's nice here so I'm going to make myself at home. streeeeeetch
Step-by-step reproduction instructions
See above, sorry too lazy to reformat those sentences into a numbered list though not so lazy that I won't type out this explanation of my laziness.
Expected behaviour
Text looks like it does in the linked Google Doc.
Actual behaviour
Gutenberg rendered the content oddly, see:
Screenshots or screen recording (optional)
See screenshot above.
Code snippet (optional)
n/a
WordPress information
WordPress version: 5.6
Gutenberg version: 9.7.4
Are all plugins except Gutenberg deactivated? Yes
Are you using a default theme (e.g. Twenty Twenty-One)? Yes, Twenty Twenty One 1.1
This is the result I get when I copy and paste the text from the doc to the post editor.
(Theme: Armando (FSE), Chrome, Windows 10)
And in the code editor:
<!-- wp:paragraph -->
<p><strong><em>Summary: </em></strong></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><strong><em>As the climate changes, global economic output will fall, but most of those economic damages can be avoided with smart policy.</em></strong></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>For release to:<br>Web<br>Another line, no carriage return<br>Carrier pidgeon</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>As the President wrote this week in the journal
Description
I copied text from a Google Doc that has multiple lines that used shift-return instead of a normal carriage return / linebreak for some content (see just after the bold/italic "Summary" intro). When that was pasted into a brand new Post, it rendered oddly in the editor and on the frontend compared to how it looked in Google Docs. I tried to find an existing issue here and the closest I could find was #6132, but there's a lot going on in that issue and I'm only concerned with this "shift-return text paste issue" so here we are with a new issue. Apologies for the issue sprawl, but it's nice here so I'm going to make myself at home. streeeeeetch
Step-by-step reproduction instructions
See above, sorry too lazy to reformat those sentences into a numbered list though not so lazy that I won't type out this explanation of my laziness.
Expected behaviour
Text looks like it does in the linked Google Doc.
Actual behaviour
Gutenberg rendered the content oddly, see:
Screenshots or screen recording (optional)
See screenshot above.
Code snippet (optional)
n/a
WordPress information
Device information
The text was updated successfully, but these errors were encountered: