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

Cover Block: Deleted Inserted Button Block Keeps Appearing #30766

Closed
deborah86 opened this issue Apr 12, 2021 · 3 comments
Closed

Cover Block: Deleted Inserted Button Block Keeps Appearing #30766

deborah86 opened this issue Apr 12, 2021 · 3 comments
Labels
[Block] Cover Affects the Cover Block - used to display content laid over a background image [Type] Bug An existing feature does not function as intended

Comments

@deborah86
Copy link

Description

If you add a button block to the cover block and then delete it, it will reappear when you modify the block alignment settings.

Step-by-step reproduction instructions

  1. Insert a cover block into a post
  2. Add a button block
  3. Delete the button block
  4. Modify the block alignment settings for the cover block

Expected behaviour

The button block to stay deleted and not to reappear.

Actual behaviour

The button block reappears.

Screenshots or screen recording (optional)

https://youtu.be/iGukon3rJAA

Code snippet (optional)

WordPress information

  • WordPress version: 5.7
  • Gutenberg version: Not Installed
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? Yes, Twenty Twenty-One

Device information

  • Device: Desktop
  • Operating system: Windows 10
  • Browser: Microsoft Edge Version 89.0.774.68
@Soean Soean added the [Block] Cover Affects the Cover Block - used to display content laid over a background image label Apr 12, 2021
@deborah86
Copy link
Author

@Soean I noticed the bug tag wasn't added. Is this a bug?

@Soean Soean added the [Type] Bug An existing feature does not function as intended label Apr 12, 2021
@Soean
Copy link
Member

Soean commented Apr 12, 2021

@deborah86 I can reproduce the bug and added the label.

@annezazu
Copy link
Contributor

Hey all! Thanks so much for opening more issues @deborah86. Great snag. In this case, this is actually due to a wider problem with the block button itself rather than specifically in the Cover block. I'm going to close this out as a result in favor of the original issue that touches on this frustrating experience: #28217 (comment)

By the way, it's super neat to see the issues you've opened 🤩 . I tried to find you in the Making WordPress Slack (you can sign up here) to more personally say thank you. If you end up joining or want to generally chat about contributing to WordPress, please feel free to ping me. I'm @annezazu on slack too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Cover Affects the Cover Block - used to display content laid over a background image [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants