Problem/Motivation
When custom content blocks are placed at page by Layout Builder, there are no contextual links on this block. This is about viewing page, not editing. I dug deeper into the problem and noticed, that some of blocks still has contextual links, e.g. views-blocks and blocks with webforms. But custom content blocks (provided by core module 'block_content') hasn't any contextual links when rendered by layout builder. This also applies to some contrib modules, e.g. Config Pages blocks also has no contextual links with Layout Builder, but when I placed {{ title_suffix }} into config-pages.html.twig, contextual links appeared ar config pages blocks.
Also I found out, that contextual links appears only in those modules, that contains some additional or specific logic of contextual links generation.
Proposed resolution
Do something to attach contextual links to blocks, rendered by Layout Builder.
Remaining tasks
TBA
User interface changes
None.
API changes
None.
Data model changes
None.