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

Command icon 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

oulalahakabu created an issue. See original summary.

oulalahakabu’s picture

Status: Active » Reviewed & tested by the community
oulalahakabu’s picture

Version: 3.0.6 » 3.0.7
Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.