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

Quote block still exists after deleting from post via backspacing #4120

Closed
hypest opened this issue Oct 14, 2021 · 4 comments
Closed

Quote block still exists after deleting from post via backspacing #4120

hypest opened this issue Oct 14, 2021 · 4 comments
Labels
[Pri] High [Type] Bug Something isn't working

Comments

@hypest
Copy link
Contributor

hypest commented Oct 14, 2021

Describe the bug
After deleting a quote block and exiting the editor (or switching to HTML view) the quote block seems to still be there when opening the post again.

I've verified it both on WPAndroid, WPiOS, as well as the demo app.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the demo app or WPAndroid (tested on v18.4-rc-3)
  2. Insert a new Quote block
  3. Focus the Quote block and delete it by backspacing. Notice the block being removed.
  4. Exit the editor (save the draft if asked) or switch to HTML View
  5. Re-enter the editor and notice the quote block still being there, or notice the blockquote markup if you switched to HTML view 💥

Expected behavior
The quote block should not have appeared after re-opening the post, nor be there in HTML view after been backspaced.

Screenshots

quote_cannot_delete.mp4

Smartphone (please complete the following information):

  • Device: Pixel 2XL
  • OS: Android 11
  • Version WPAndroid v18.4-rc-3, gutenberg-mobile develop 3f19075

Additional context
Add any other context about the problem here.

@hypest hypest added the [Type] Bug Something isn't working label Oct 14, 2021
@hypest
Copy link
Contributor Author

hypest commented Oct 14, 2021

Marking this as [Pri] High as it involves a content fault.

@fluiddot
Copy link
Contributor

I noticed that this can be reproduced with any block if it's added as the first item of the block list. After checking older versions, I confirm this began to happen in version 1.61.0 (18.2).

@fluiddot
Copy link
Contributor

As mentioned in this comment, this looks like a breakage from a change in Gutenberg.

@hypest
Copy link
Contributor Author

hypest commented Oct 14, 2021

I'll go ahead and close this ticket for now and we can reopen if for any reason it turns out to only happen on native mobile.

@hypest hypest closed this as completed Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] High [Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants