Block content styles are not applied when an embedded entity does not use layout_builder

Created on 7 June 2023, about 1 year ago
Updated 23 June 2023, about 1 year ago

Problem/Motivation

In layout builder, when we add a custom block that does not use layout builder for his render, the block content styles is not applied.

Steps to reproduce

With Layout builder, add a custom block in a section.
In the UI styles, choose some Block content styles, save the block and the layout.
When the content is rendered, the content styles for the block is not applied.

Proposed resolution

Add content styles to the block childrens elements if it doesn't use layout builder for rendering.

Remaining tasks

Add automated tests to the fix.

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France gidel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024