{% extends "@Contao/content_element/text.html.twig" %} {% block content %} {% if layout != 'below' %} {{ block('text_media') }} {% endif %} {# Richtext #} {% block text %} {% set text_attributes = attrs() .addClass('rte') .mergeWith(text_attributes|default) %}
{% endblock %} {% if layout == 'below' %} {{ block('text_media') }} {% endif %} {% endblock %}