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

Copy/cut input values copying entire block/removing block #21440

Closed
tomusborne opened this issue Apr 6, 2020 · 3 comments · Fixed by #21457
Closed

Copy/cut input values copying entire block/removing block #21440

tomusborne opened this issue Apr 6, 2020 · 3 comments · Fixed by #21457
Labels
[Priority] High Used to indicate top priority items that need quick attention [Type] Bug An existing feature does not function as intended

Comments

@tomusborne
Copy link

I'm getting some weirdness in WP 5.4 with and without the Gutenberg plugin when it comes to copying/pasting/cutting values.

The following video shows the process/how to reproduce. It was taken using Chrome on Windows.

https://www.screencast.com/t/5I006Nyxhd

I used Twenty-Twenty with no plugins other than Gutenberg activated and used the paragraph block as an example. I originally noticed the problem in my own blocks that I'm building, but it seems to happen with core blocks as well.

It seems to only affect number inputs.

  • Copying the value copies the entire block
  • Pasting doesn't seem to work (obviously), as it's trying to paste the entire block into the value
  • Cutting the value seems to delete the block entirely

It seems like Gutenberg is mistaking the selection for the block itself, even though the input is selected.

@talldan talldan added [Type] Bug An existing feature does not function as intended [Priority] High Used to indicate top priority items that need quick attention labels Apr 7, 2020
@kirilzh
Copy link
Contributor

kirilzh commented Apr 7, 2020

Hi I would like to be assigned to this issue : )

@quantumleap33
Copy link

quantumleap33 commented Apr 29, 2020

WP 5.4.1 maintenance update. Still same issue.

@quantumleap33
Copy link

Apologies, it seems that you are on it, guys! I just had to install the Gutenberg plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Priority] High Used to indicate top priority items that need quick attention [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants