1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,14 @@ |
1 |
+{% extends "@Contao/content_element/_base.html.twig" %} |
|
2 |
+{% use "@Contao/component/_rich_text.html.twig" %} |
|
3 |
+ |
|
4 |
+{% set attributes = attrs() |
|
5 |
+ .addClass('reveal') |
|
6 |
+ .mergeWith(attributes|default) |
|
7 |
+%} |
|
8 |
+ |
|
9 |
+{% block content %} |
|
10 |
+ {# Richtext #} |
|
11 |
+ {% block text %} |
|
12 |
+ {% with {text, attributes: text_attributes|default} %}{{ block('rich_text_component') }}{% endwith %} |
|
13 |
+ {% endblock %} |
|
14 |
+{% endblock %} |