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

Pasting in FontSizePicker replaces the block itself #21810

Closed
kirilzh opened this issue Apr 23, 2020 · 2 comments · Fixed by #21812
Closed

Pasting in FontSizePicker replaces the block itself #21810

kirilzh opened this issue Apr 23, 2020 · 2 comments · Fixed by #21812
Labels
[Feature] Paste Needs Testing Needs further testing to be confirmed.

Comments

@kirilzh
Copy link
Contributor

kirilzh commented Apr 23, 2020

Describe the bug
Pasting a custom value in "Custom" size block replaces the block itself.
image

To reproduce
Steps to reproduce the behaviour:

  1. Go to Pages and try to edit a page.
  2. Click on text block and empty the custom field.
  3. Paste a number in custom field.
  4. See that your text block is replaced.

Expected behaviour
The size should be pasted in the field

Screenshots
If applicable, add screenshots to help explain your problem.

Editor version:

  • WordPress version: (5.5-alpha-47610)
  • Gutenberg version: Version 7.9.1 default setting

Desktop:

  • OS: Mac OS
  • Browser Chrome 81
@talldan
Copy link
Contributor

talldan commented Apr 23, 2020

Is this related to #21440?

@talldan talldan added [Feature] Paste Needs Testing Needs further testing to be confirmed. labels Apr 23, 2020
@kirilzh
Copy link
Contributor Author

kirilzh commented Apr 23, 2020

Yes, it was pointed out to me in here that pasting is not working correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Paste Needs Testing Needs further testing to be confirmed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants