From 6e05b62f7c220625e13051bfad7a95ae0e58a2b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 21 Jan 2019 12:14:07 -0500 Subject: [PATCH] Override the thing that's extended --- ...graph--text--field-text--preview.html.twig | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/agaric/templates/field/field--paragraph--text--field-text--preview.html.twig b/agaric/templates/field/field--paragraph--text--field-text--preview.html.twig index 07ce721..cb36254 100644 --- a/agaric/templates/field/field--paragraph--text--field-text--preview.html.twig +++ b/agaric/templates/field/field--paragraph--text--field-text--preview.html.twig @@ -1 +1,19 @@ -{% extends "field--text.html.twig" %} +{% extends "field.html.twig" %} +{# +/** + * @file + * Default theme implementation for a text field. + * + * A 'content' class is added to provide 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 + * @see http://bulma.io/documentation/elements/content + * + * @ingroup themeable + */ +#} +{% set attributes = attributes.addClass('content') %} \ No newline at end of file