Bootstrap 5's ".placeholder" class conflicts with Drupal core and needs to be addressed at the theme level

Created on 12 September 2023, about 1 year ago
Updated 18 May 2024, 6 months ago

Problem/Motivation

Core adds <em class="placeholder">Value</em> to any format markup prefixed with % core/lib/Drupal/Component/Render/FormattableMarkup.php, line 194.

Proposed resolution

Based on comments in this related issue β†’ , it looks like Drupal core will not be changed to accommodate this class clash. So, it looks like it needs to be addressed on the theme level. Radix could rename the classes in twig files, or, it could use a more targeted CSS solution. I'm not sure what the best approach would be to ensure coverage for all use cases.

πŸ› Bug report
Status

Fixed

Version

6.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States paramnida

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024