Closed (outdated)
Project:
Gesso
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2020 at 10:38 UTC
Updated:
23 Sep 2020 at 20:11 UTC
Jump to comment: Most recent
Normally, when using layout builder you can edit the configuration of blocks that have been placed using contextual links. When using a Gesso-based theme, these contextual links do not appear.
I already applied the fix suggested in #3073339: Block contextual links missing if title is hidden but still the links do not appear. I believe these are normally attached through the attributes, but it's harder to troubleshoot with Gesso because it relies on the custom add_attributes twig function. Can someone suggest a fix?
Comments
Comment #2
clafferty commentedI just tested with the dev version and I see the contextual links for blocks in Layout Builder. The change that was made to fix this issue can be seen here:
https://github.com/forumone/gesso/pull/344/files
Have you made that change to that specific file? Are your blocks being run through a different template that doesn't have the change or doesn't print out the title_prefix/suffix? Basically you just need the title_prefix and title_suffix to be printed in whatever template is rendering your blocks (whether the label exists or not). You may need to clear cache for the change to take affect. If you're still seeing this problem after that, can you provide more details to replicate?
Comment #3
clafferty commentedComment #4
dcmouyard commented