Skip to content
Snippets Groups Projects
Commit dead5beb authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2539860 by jeni_dc, LewisNyman: Add a class to field that contain...

Issue #2539860 by jeni_dc, LewisNyman: Add a class to field that contain user-generated formatted text
parent dfefab5e
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -14,7 +14,15 @@
*
* @see https://www.drupal.org/node/2358529
*
* A 'text-formatted' class is added to assist with default styling of base
* elements such as paragraphs and lists that may not have classes assigned to
* them. This allows user entered content to have default styling without
* interfering with the styles of other UI components such as system generated
* lists or other dynamic content.
*
* @see https://www.drupal.org/node/2539860
*
* @ingroup themeable
*/
#}
{% set attributes = attributes.addClass('clearfix') %}
{% set attributes = attributes.addClass('clearfix', 'text-formatted') %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment