Closed (fixed)
Project:
Gesso
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Aug 2019 at 19:29 UTC
Updated:
19 Mar 2020 at 19:10 UTC
Jump to comment: Most recent
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
Comment #2
tlwatsonComment #3
tlwatsonNever mind, closing - apparently this is working again in 2.1 as the 'block' component was created.
Comment #4
tlwatsonReopening 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.
Comment #5
clafferty commentedComment #6
clafferty commentedThanks for pointing out this issue. This is fixed in the dev version by this PR. https://github.com/forumone/gesso/pull/344
Comment #7
clafferty commented