Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Paste Following a SHIFT-RETURN With Gutenberg 10.9.1 Active #54106

Closed
katiebethbrown opened this issue Jun 29, 2021 · 6 comments
Closed
Labels
Blocks Editor blocks, aka Gutenberg blocks, plugins, and extensions Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Pri] Normal Schedule for the next available opportuinity. [Status] Core Fix Needed A fix within the Core WordPress or Gutenberg project is required to resolve this issue. [Status] Fix Inbound Use when a fix is in unreleased component Triaged To be used when issues have been triaged. [Type] Bug When a feature is broken and / or not performing as intended

Comments

@katiebethbrown
Copy link

Steps to reproduce the behavior

  1. Open a post or page in the editor.
  2. Copy something (a link, etc) to your clipboard
  3. Add text to a paragraph block and type SHIFT-RETURN for a new line in the same block
  4. Use CTRL-V to paste the contents of your clipboard

What I expected to happen

The contents of my clipboard to show in the block

What actually happened

The clipboard contents do not appear, and I get the following console error:

Uncaught TypeError: can't access property "length", t is undefined

from index.min.js:61:1188

Screen Shot 2021-06-28 at 7 27 47 PM

Context

The issue happens on the frontend of P2s, and I was able to replicate in the editor as well on Simple sites, Atomic sites, and a Jurassic Ninja site with GB 10.9.1 active. Deactivating the Gutenberg plugin on the Atomic and JN sites resolves the issue.

Level of impact (Does it block purchases? Does it affect more than just one site?)

Affects all sites with GB 10.9.1

Reproducibility (Consistent, Intermittent) Leave empty for consistent.

Able to repo across all sites.

Screenshot / Video: If applicable, add screenshots to help explain your problem.

GIF showing what happens:
shift-return_paste_issues

@katiebethbrown katiebethbrown added [Type] Bug When a feature is broken and / or not performing as intended User Report labels Jun 29, 2021
@katiebethbrown
Copy link
Author

Looks like this may be corrected with this merge to GB 11

WordPress/gutenberg#32527

@Robertght
Copy link

Robertght commented Jun 29, 2021

I can confirm this is a problem on my end as well and on the user's.

Ticket: 4100337-zen

@Robertght Robertght added the Triaged To be used when issues have been triaged. label Jun 29, 2021
@mrfoxtalbot mrfoxtalbot added [Pri] Normal Schedule for the next available opportuinity. Blocks Editor blocks, aka Gutenberg blocks, plugins, and extensions [Status] Core Fix Needed A fix within the Core WordPress or Gutenberg project is required to resolve this issue. [Status] Fix Inbound Use when a fix is in unreleased component labels Jun 29, 2021
@lizswafford
Copy link

lizswafford commented Jun 30, 2021

Found a similar issue on my test site. If I copy text, then use shift-return to create a new line, I can't paste the text. I'm only able to type new text.

@NoHopeRadio
Copy link

User reporting they cannot paste text into list blocks until they type a character first:

#4114454-zen

@annezazu
Copy link

annezazu commented Sep 5, 2024

I can no longer replicate this with WordPress 6.6.1 and GB 19.1. Closing out!

@annezazu annezazu closed this as completed Sep 5, 2024
Copy link

github-actions bot commented Sep 5, 2024

Support References

This comment is automatically generated. Please do not edit it.

  • 4100337-zen
  • 4114454-zen

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocks Editor blocks, aka Gutenberg blocks, plugins, and extensions Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Pri] Normal Schedule for the next available opportuinity. [Status] Core Fix Needed A fix within the Core WordPress or Gutenberg project is required to resolve this issue. [Status] Fix Inbound Use when a fix is in unreleased component Triaged To be used when issues have been triaged. [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

No branches or pull requests

6 participants