Make WordPress Core

Opened 4 years ago

Closed 2 years ago

#56719 closed defect (bug) (wontfix)

Twenty Nineteen: Tag cloud block not centering

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

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 4 years ago.
added patch
widget-editor-tag-cloud.png​ (86.5 KB ) - added by sabernhardt 4 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 4 years ago.
in the post editor, the block does not have the aligncenter class

Download all attachments as: .zip

Change History (7)

@multidots1896
4 years ago

added patch

#1 @sabernhardt
4 years ago

  • Component General → Bundled Theme
  • Focuses css added
  • Keywords has-patch removed
  • Summary In Twenty Nineteen Theme: Tag cloud block alignment issue in editor as well as front end side #43016 → 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
4 years ago

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

@sabernhardt
4 years ago

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

#2 @sabernhardt
4 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
3 years 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
2 years ago

  • Milestone Awaiting Review
  • Resolution → wontfix
  • Status new → closed

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

Note: See TracTickets for help on using tickets.