Skip to content

Order of block support panels is not consistent #63188

@Dartui

Description

@Dartui

Description

Order of support panels is not consistent depending of how block is configured.

For example if block has only "Styles" tab then order of supports is:

  1. Color
  2. Dimensions
  3. Border
  4. Background / Background image

If we configure block to display "Settings" and "Styles" tab the order of supports is:

  1. Color
  2. Background / Background image
  3. Dimensions
  4. Border

I would expect that support panels will render in the same order regardless of block configuration.

Step-by-step reproduction instructions

  1. Create block with only "Styles" tab
  2. Create block with "Settings" and "Styles" tab

Screenshots, screen recording, code snippet

Block with only "Style" tab
image

Block with "Settings" and "Style" tab
image

Environment info

  • WordPress 6.5.4
  • Gutenberg build-in in WordPress and 18.7.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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] LayoutLayout block support, its UI controls, and style output.[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions