Make WordPress Core

Opened 19 months ago

Closed 17 months ago

Last modified 17 months ago

#59073 closed defect (bug) (reported-upstream)

The button alignment in the Gutenberg editor for pages and posts is not functioning as intended.

Reported by: algorithmsunlocks's profile algorithmsunlocks Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.3
Component: Editor Keywords:
Focuses: ui, css Cc:

Description

Here's how to identify the problem:

Step-01: Access the WordPress dashboard.
Step-02: Create a new page or post using the Gutenberg editor.
Step-03: Add button blocks to the page or post and adjust their alignments to left, right, and center.

You will notice that the issue becomes evident.
Additionally, you can watch the recorded video to see how this issue can be reproduced:
https://screenpal.com/watch/c0jXI0VkWzj

Change History (4)

#1 @sabernhardt
19 months ago

  • Component changed from Customize to Editor
  • Keywords needs-patch removed
  • Severity changed from critical to normal
  • Version changed from trunk to 6.3

It is intentional, though maybe not expected.

That alignment control button was changed to align text only. To align Button block links, the "Change items justification" control (a few buttons before the text alignment) should work better than the old alignleft, aligncenter and alignright classes.

#2 @algorithmsunlocks
19 months ago

Thank you! I got it!

#3 @sabernhardt
17 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

The 'worksforme' resolution might be appropriate, too, but I'll close as it was addressed upstream in the Gutenberg repository.
https://github.com/WordPress/gutenberg/pull/45663

#4 @sabernhardt
17 months ago

#59046 was marked as a duplicate.

Note: See TracTickets for help on using tickets.