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

Image block: when override added, toolbar shows redundant separator #62040

Closed
annezazu opened this issue May 27, 2024 · 0 comments · Fixed by #62132
Closed

Image block: when override added, toolbar shows redundant separator #62040

annezazu opened this issue May 27, 2024 · 0 comments · Fixed by #62132
Labels
[Block] Image Affects the Image Block [Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@annezazu
Copy link
Contributor

Description

After setting an override in a synced pattern for an image block, I noticed the image block with the override shows a redundant separator in the block toolbar.

Step-by-step reproduction instructions

  1. Create a synced pattern.
  2. Add an image block.
  3. Under Advanced in Block Settings, enable an override for the Image block.
  4. Save and publish the synced pattern.
  5. Create a new page or post.
  6. Add the synced pattern with the override for the image block.
  7. Select the image block in the synced pattern and notice the toolbar has an extra separator.

Screenshots, screen recording, code snippet

Screenshot 2024-05-27 at 4 38 53 PM

Environment info

  • WP 6.5.3
  • GB 18.4
  • TT4
  • Chrome Version 123.0.6312.107
  • MacOS 14.1.1

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@annezazu annezazu added [Type] Bug An existing feature does not function as intended [Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Block] Image Affects the Image Block labels May 27, 2024
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Image Affects the Image Block [Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
1 participant