WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.52k stars 4.21k forks source link

Bullet list block copy/paste jumps to new block #3726

Closed msdesign21 closed 6 years ago

msdesign21 commented 6 years ago

Issue Overview

If I try to copy/paste text into a bullet list block the text gets pushed to a new block, rather than pasting the text into the block I am in.

Steps to Reproduce (for bugs)

  1. Use this Einstein test.
  2. in a new Gutenberg post start a bullet list block then copy/paste the bulleted Einstein text.
  3. You can also try copy/paste text from another application to recreate the issue. (does not happen if you try to copy/paste text that is already bulleted)

Expected Behavior

I expected the text I paste into the bullet list block to stay in that block.

Current Behavior

When I try to paste text into a bullet list block the text gets pasted in a new block below.

Screenshots / Video

Here's a video explaining the issue: http://cld.wthms.co/0c0HzF

Related Issues and/or PRs

Todos

jorgefilipecosta commented 6 years ago

Hi @msdesign21 thank you a lot for your report 👍 It looks like this bug is a manifestation of the more general problem described in https://github.com/WordPress/gutenberg/issues/3241. When solving the general problem this bug will also be solved.

jorgefilipecosta commented 6 years ago

With the merge of https://github.com/WordPress/gutenberg/pull/3949, this issue should be fixed :)

msdesign21 commented 6 years ago

Oh great! Thank you Jorge!

On Mon, Dec 18, 2017 at 8:42 AM, Jorge notifications@github.com wrote:

With the merge of #3949 https://github.com/WordPress/gutenberg/pull/3949, this issue should be fixed :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/WordPress/gutenberg/issues/3726#issuecomment-352464634, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPVL7fWM6mQddK4KPxU-oVOzqbOdHKcks5tBofhgaJpZM4Qv0sJ .