[beta4] Card description text should not have <p> html tag

Created on 27 June 2023, over 1 year ago
Updated 17 July 2023, over 1 year ago

Problem/Motivation

I try to build card pattern, inside the regions of text i set a field text formatted. Also because it's formatted text, the value has a tag (like div or p) and also break the dom beacause it's not allowing to have a html tag display block inside a <p> tag. I.E : my field is outside <p class="fr-card__desc"> tag

Steps to reproduce

Try to add formatted text field inside region text with card pattern

Proposed resolution

replace tag <p> of pattern-card.html by a div

๐Ÿ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡ซ๐Ÿ‡ทFrance musa.thomas France ๐Ÿ‡ซ๐Ÿ‡ท

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

Comments & Activities

Production build 0.71.5 2024