From 8c4e7dd184cde2958b48f3022bbb4399f4e0ce86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 21 Jan 2019 13:00:12 -0500 Subject: [PATCH] Turns out we don't need to override the field at all; our surrounding HTML comes from the paragraph --- ...graph--text--field-text--preview.html.twig | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 agaric/templates/field/field--paragraph--text--field-text--preview.html.twig 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 deleted file mode 100644 index cb36254..0000000 --- a/agaric/templates/field/field--paragraph--text--field-text--preview.html.twig +++ /dev/null @@ -1,19 +0,0 @@ -{% 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