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

Created on 12 September 2023, 8 months ago
Updated 4 May 2024, 14 days 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.67.2 2024