Make WordPress Core

Opened 12 months ago

Last modified 12 months ago

#56719 new defect (bug)

Twenty Nineteen: Tag cloud block not centering

Reported by: multidots1896's profile multidots1896 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.0.2
Component: Bundled Theme Keywords:
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 12 months ago.
added patch
widget-editor-tag-cloud.png (86.5 KB) - added by sabernhardt 12 months 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 12 months ago.
in the post editor, the block does not have the aligncenter class

Download all attachments as: .zip

Change History (5)

@multidots1896
12 months ago

added patch

#1 @sabernhardt
12 months 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
12 months ago

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

@sabernhardt
12 months ago

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

#2 @sabernhardt
12 months 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.

Note: See TracTickets for help on using tickets.