Make WordPress Core

Opened 2 years ago

Closed 10 months ago

#56719 closed defect (bug) (wontfix)

Twenty Nineteen: Tag cloud block not centering

Reported by: multidots1896's profile multidots1896 Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.0.2
Component: Bundled Theme Keywords: close
Focuses: css Cc:

Description

1)Activate the Twenty Nineteen theme.
2)Add the tag cloud block and select taxonomies from list
3)Now set the center alignment. You can see it will not be in center alignment.

Attachments (3)

56719.patch (1.3 KB) - added by multidots1896 2 years ago.
added patch
widget-editor-tag-cloud.png (86.5 KB) - added by sabernhardt 2 years ago.
Tag Cloud block centered in the Widget editor with WordPress 6.1 beta 2
post-editor-tag-cloud.png (79.5 KB) - added by sabernhardt 2 years ago.
in the post editor, the block does not have the aligncenter class

Download all attachments as: .zip

Change History (7)

@multidots1896
2 years ago

added patch

#1 @sabernhardt
2 years ago

  • Component changed from General to Bundled Theme
  • Focuses css added
  • Keywords has-patch removed
  • Summary changed from In Twenty Nineteen Theme: Tag cloud block alignment issue in editor as well as front end side #43016 to Twenty Nineteen: Tag cloud block not centering

Related: GB43016

With GB43017 merged, the block styles already include justify-content: center in WordPress 6.1 beta 2. I did not notice a problem on the front, but the Post editor still does not center the Tag Cloud block with its Outline style (Default worked fine). The Widget editor centered both Default and Outline styles.

@sabernhardt
2 years ago

Tag Cloud block centered in the Widget editor with WordPress 6.1 beta 2

@sabernhardt
2 years ago

in the post editor, the block does not have the aligncenter class

#2 @sabernhardt
2 years ago

I think this would need to be fixed in the plugin (and merged into Core) instead of editing individual themes.

The block has aligncenter and wp-block classes in the Widget context, but not in the Post editor.

#3 @karmatosed
10 months ago

  • Keywords close added

I agree with your statement that this should be fixed in the plugin and merged into Core instead of editing in themes @sabernhardt. Based on that recommendation I am going to add the close keyword to this ticket. Thank you everyone.

#4 @karmatosed
10 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Thank you everyone, let's close this for now.

Note: See TracTickets for help on using tickets.