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

Text Block cursor issue #8797

Closed
LZL0 opened this issue Aug 9, 2018 · 2 comments
Closed

Text Block cursor issue #8797

LZL0 opened this issue Aug 9, 2018 · 2 comments
Labels
[Feature] Raw Handling Related to the ability to convert content to blocks, paste handling, etc [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Enhancement A suggestion for improvement.

Comments

@LZL0
Copy link

LZL0 commented Aug 9, 2018

Describe the bug
When I start a new text block and instantly press Ctrl+V the pasted content will appear but the cursor will be at the beginning of the block. This issue does not appear to happen if there is already content in the text block.

To Reproduce
Steps to reproduce the behavior:

  1. Start a new text block
  2. Paste some content into it

Expected behavior
The cursor should appear at the end of the content.

Desktop (please complete the following information):

  • OS: Windows 10 Pro
  • Browser latest Chrome Beta

Gutenberg 3.5
WordPress 4.9.8

@designsimply
Copy link
Member

Tested and confirmed using WordPress 4.9.8 and Gutenberg 3.5.0 that when I paste plain text content into a paragraph block the cursor lands at the beginning of the pasted content and not the end.

@designsimply designsimply added [Type] Enhancement A suggestion for improvement. [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Feature] Raw Handling Related to the ability to convert content to blocks, paste handling, etc labels Aug 10, 2018
@designsimply
Copy link
Member

Closing as a duplicate of #5317.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Raw Handling Related to the ability to convert content to blocks, paste handling, etc [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants