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

The "Apply duotone filter" button on image block-related toolbar shifts to the end after setting image to be centered #32981

Closed
pansamolot opened this issue Jun 25, 2021 · 1 comment
Labels
[Block] Image Affects the Image Block Needs Testing Needs further testing to be confirmed.

Comments

@pansamolot
Copy link

Description

When you add new image block then an additional icons set is added to toolbar with icons related to image / image block. The initial order of these buttons changes when you set image to be centered.

Step-by-step reproduction instructions

  1. Create any block image and insert any image from media library or other source into it
  2. Observe related icons order: (a) duotone filter, (b) alignment, (c) edit link, (d) crop and (e) add text
  3. Click second button to change image's alignment to centered
  4. Observe icons order again: (a) alignment, (b) edit link, (c) crop, (d) add text and (e) duotone filter

Expected behaviour

Icons order should remain the same until very end of the world. The "Apply duotone filter" button should always (from the very first moments of adding image block) be last, as very rarely used functionality.

Actual behaviour

The "Apply duotone filter" button appears first when creating image block and switches to the last position only after changing alignment of the image.

Screenshots

one

two

WordPress information

  • WordPress version: 5.7.2
  • Gutenberg version: Version 10.9.0 | By Gutenberg Team
  • Are all plugins except Gutenberg deactivated? No
  • Are you using a default theme (e.g. Twenty Twenty-One)? No

Device information

  • Device: PC
  • Operating system: Windows 10 10094
  • Browser: Chrome Version 91.0.4472.114
@talldan talldan added [Block] Image Affects the Image Block Needs Testing Needs further testing to be confirmed. labels Jun 28, 2021
@jasmussen
Copy link
Contributor

Thanks for the report, this definitely needs to be fixed! lt's tracked in #31373 also, so I'm closing this one in favor of that.

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 Needs Testing Needs further testing to be confirmed.
Projects
None yet
Development

No branches or pull requests

3 participants