In Gesso 2.x, blocks use the 'section' component. This is designed to show the title_prefix and title_suffix above & below only if has_label is true (which means only if the Block title is supposed to be shown).
The problem is, contextual links are in the title_prefix. If the title is hidden, contextual links get left out, and we have a big usability problem (especially when starting to work with Layout Builder).

Obviously this is easy to fix in a project once you realize it, but it would be nice if it was working out-of-the-box.

Comments

TLHenriksen created an issue. See original summary.

tlwatson’s picture

Issue summary: View changes
tlwatson’s picture

Status: Active » Closed (outdated)

Never mind, closing - apparently this is working again in 2.1 as the 'block' component was created.

tlwatson’s picture

Version: 8.x-2.x-dev » 8.x-3.x-dev
Status: Closed (outdated) » Active

Reopening for 8.x-3.x - the same issue persists as far as I can tell from the latest version. title_suffix and title_prefix are only printed if 'label' is set.
At the very least, title_suffix should be taken out of the 'if label' condition, but for consistency probably both.

clafferty’s picture

Assigned: Unassigned » clafferty
clafferty’s picture

Status: Active » Fixed

Thanks for pointing out this issue. This is fixed in the dev version by this PR. https://github.com/forumone/gesso/pull/344

clafferty’s picture

Status: Fixed » Closed (fixed)