[4.0.0-alpha8] Replace hardcoded use of not-prose class by boolean prop

Created on 3 December 2024, about 2 months ago

Problem/Motivation

... TBD

๐Ÿ“Œ Task
Status

Active

Version

4.0

Component

Code

Created by

๐Ÿ‡ซ๐Ÿ‡ทFrance G4MBINI Bรจgles

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

Merge Requests

Comments & Activities

  • Issue created by @G4MBINI
  • ๐Ÿ‡ซ๐Ÿ‡ทFrance G4MBINI Bรจgles
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States mortona2k Seattle

    .prose is currently on the page wrapper.

    Components that are not prose, like ol/ul used in menus need to be overridden.

    I think the best way to use tailwind typography in drupal is to set the .text-formatted class and use field--text.html and related templates from starterkit theme which attaches it to the right fields. Or use that template with .prose.

    I'd rather set the style where needed than set it globally and have to unset it on component elements.

  • Merge request !59Add text field templates, move prose โ†’ (Open) created by mortona2k
Production build 0.71.5 2024