[wp-trac] [WordPress Trac] #56426: Please show anchor label in Group block

WordPress Trac noreply at wordpress.org
Wed Aug 24 13:35:58 UTC 2022


#56426: Please show anchor label in Group block
--------------------------+--------------------------------
 Reporter:  markhoney     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:  reported-upstream
 Keywords:                |     Focuses:  ui
--------------------------+--------------------------------
Changes (by sabernhardt):

 * status:  new => closed
 * resolution:   => reported-upstream
 * version:  trunk =>
 * milestone:  Awaiting Review =>
 * type:  enhancement => defect (bug)


Old description:

> 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)

New description:

 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)

--

Comment:

 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56426#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list