vendor/shopware/storefront/Resources/views/storefront/element/cms-element-text.html.twig line 1

  1. {% block element_text %}
  2.     {%  set config = element.fieldConfig.elements %}
  3.     <div class="cms-element-{{ element.type }}{% if config.verticalAlign.value %} has-vertical-alignment{% endif %}">
  4.         {% block element_text_alignment %}
  5.             {% if config.verticalAlign.value %}
  6.                 <div class="cms-element-alignment{% if config.verticalAlign.value == "center" %} align-self-center{% elseif config.verticalAlign.value == "flex-end" %} align-self-end{% else %} align-self-start{% endif %}">
  7.             {% endif %}
  8.                 {% block element_text_inner %}
  9.                     {{ element.data.content|raw }}
  10.                 {% endblock %}
  11.             {% if config.verticalAlign.value %}
  12.                 </div>
  13.             {% endif %}
  14.         {% endblock %}
  15.     </div>
  16. {% endblock %}