Make WordPress Core

Opened 4 months ago

Closed 2 months ago

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

Tag Cloud vertical gap is off in Editor whereas in Preview there is a vertical gap

Reported by: rohit900's profile rohit900 Owned by:
Milestone: Priority: normal
Severity: major Version: 6.2.2
Component: Editor Keywords:
Focuses: Cc:

Description (last modified by sabernhardt)

Tag Cloud vertical gap is off in Editor whereas in Preview there is a vertical gap

Screenshot link for editor's Tag cloud https://tinyurl.com/25a88xxb

Screenshot link for Preview Tag Cloud https://tinyurl.com/2269bleb

Reason for error in editor: Like in Preview page these two class (is-style-outline, wp-block-tag-cloud) should be on p tag. But in editor, only (wp-block-tag-cloud) class is there in p tag and (is-style-outline) class is in parent div. These two classes should be on same p tag just like in preview page because of the CSS reason

.wp-block-tag-cloud.is-style-outline {
    display: flex;
    flex-wrap: wrap;
    gap: 1ch;
}

Change History (1)

#1 @sabernhardt
2 months ago

  • Component changed from General to Editor
  • Description modified (diff)
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Thanks for the report!

This is already in the Gutenberg repository:
https://github.com/WordPress/gutenberg/issues/49226

You could follow that issue and/or add to the discussion there.

Note: See TracTickets for help on using tickets.