Make WordPress Core

Opened 2 years ago

Closed 2 years ago

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

Please show anchor label in Group block

Reported by: markhoney's profile markhoney Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: ui Cc:

Description (last modified by sabernhardt)

Many blocks in Gutenberg use a label in the List View (with a class of block-editor-list-view-block-select-button__anchor) to display an anchor that's assigned to them. However the Group block doesn't show this label, so you can't easily see if a Group has an anchor assigned. These anchors can be useful for seeing at a glance what a Group contains, as anchors are usually descriptive of its contents.

(please note, the class name above should have two underscores before the word anchor, but this editor interprets it as the start of underlining)

Change History (1)

#1 @sabernhardt
2 years ago

  • Description modified (diff)
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed
  • Type changed from enhancement to defect (bug)
  • Version trunk deleted

Hi and thanks for the report!

Issue GB40456 labeled this as a bug because it had worked for other blocks, and it is fixed in the plugin. The merge was a little late to include in WordPress 6.0, but the anchor ID should display in 6.1.

Note: See TracTickets for help on using tickets.