Problem / Motivation
The DSFR theme currently does not wrap blocks with the expected wrapper elements and does not properly handle attributes.
This causes several malfunctions when using Layout Builder (though the problem is not exclusive to it).
Steps to reproduce
1. Install and enable the DSFR theme (and its dependencies), Drupal core, and Layout Builder.
2. Go to the Layout Builder UI for a node/layout that supports it.
3. Add a **Menu** block (whatever but "Main navigation", "User account menu").
4. Save the layout.
5. Try to edit or configure the menu block you just added (via the contextual links / "Configure" / "Edit" options).
**Observed behavior**:
No contextual menu / configuration link appears for the menu block. It is impossible to edit its settings from Layout Builder.
**Expected behavior**:
The menu block should receive proper wrapper markup and Drupal attributes so that contextual links and configuration options work as they do with other themes
Issue fork dsfr-3580847
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
oulalahakabu commentedComment #5
oulalahakabu commented