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

List bullet contents mostly deleted after ENTER + ENTER + BACKSPACE + ENTER #11165

Closed
mrwweb opened this issue Oct 27, 2018 · 4 comments
Closed
Labels
[Block] List Affects the List Block [Type] Bug An existing feature does not function as intended

Comments

@mrwweb
Copy link

mrwweb commented Oct 27, 2018

Describe the bug
When escaping a list through multiple returns (which doesn't always work), back spacing into a list, and hitting return again, I lose a majority of the data in my list.

I observed this bug a few other times in other conditions but this series of keystrokes is the only one I could consistently reproduce. In working on a blog post, I completely lost a bullet's contents twice and trying to UNDO/REDO to get it back did not work.

To Reproduce

  1. Make a list
  2. Hit RETURN twice to escape the list (doesn't always work)
  3. Hit BACKSPACE to return cursor to end of last bullet
  4. Hit RETURN
  5. All but the first few characters in the last bullet are lost.

Expected behavior
Gutenberg doesn't delete what I've written :(

Screenshots

To be extra sure this was really happening, I did it twice in two separate posts.

list-data-loss

list-data-loss-2

Desktop (please complete the following information):

  • Win 10
  • Firefox 63
  • 5.0-beta1-43823
@mrwweb mrwweb changed the title Data loss following reasonable series of keystrokes. List bullet contents mostly deleted after ENTER + ENTER + BACKSPACE + ENTER Oct 27, 2018
@dbullock
Copy link

I was able to recreate this with Gutenberg Version 4.1.1 .. WP beta1-43832 .. in Chrome

@allieryn
Copy link

allieryn commented Oct 28, 2018

I was partially able to recreate this issue. It was not consistent with this set of steps. However, while going in and out of the list block, I had similar results. I was unable to reproduce those errors again, though.

OS X 10.14
Chrome 69
5.0-beta1-43832
Twenty Seventeen
No plugins

@earnjam earnjam added [Type] Bug An existing feature does not function as intended [Block] List Affects the List Block [Block] Paragraph Affects the Paragraph Block and removed [Block] Paragraph Affects the Paragraph Block labels Oct 28, 2018
@mrwweb
Copy link
Author

mrwweb commented Oct 29, 2018

I was partially able to recreate this issue. It was not consistent with this set of steps.

The ENTER + ENTER + BACKSPACE + ENTER seems to be the most consistent way I can trigger it, but I've definitely seen it happen in other circumstances as well.

@youknowriad
Copy link
Contributor

Should be fixed by #10799

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] List Affects the List Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

5 participants