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

Gallery block is not removed when undo is pressed #2735

Closed
jd-alexander opened this issue Oct 16, 2020 · 2 comments
Closed

Gallery block is not removed when undo is pressed #2735

jd-alexander opened this issue Oct 16, 2020 · 2 comments
Labels

Comments

@jd-alexander
Copy link
Contributor

jd-alexander commented Oct 16, 2020

Describe the bug
When you add a Gallery Block to the Block List and you press the undo button the Gallery Block is not removed. This issue was first discovered on the master branch of gutenberg.

This issue was observed was also observed on WPiOS 15.9.0.1.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new post.
  2. Add a Gallery Block.
  3. Press the undo button.
  4. Observe that the Gallery Block is not removed no matter how many times you press the undo button.

Expected behavior
It's expected that all blocks including the Gallery block will be removed when the undo is done, i.e once it doesn't contain any content as that would cause the content's removal from the Gallery Block to supersede it's removal.

Screenshots

Smartphone (please complete the following information):

  • Device: Pixel 3 XL
  • OS: Android 11
  • Version : 15.9
@jd-alexander
Copy link
Contributor Author

This is being resolved by WordPress/gutenberg#26377

@chipsnyder
Copy link
Contributor

Tested in WP 16.7 this seems to be resolved now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment