{% extends "@Contao/content_element/_base.html.twig" %} {% use "@Contao/component/_rich_text.html.twig" %} {% set attributes = attrs() .addClass('reveal') .mergeWith(attributes|default) %} {% block content %} {# Richtext #} {% block text %} {% with {text, attributes: text_attributes|default} %}{{ block('rich_text_component') }}{% endwith %} {% endblock %} {% endblock %}