templates/areas/wysiwyg/view.html.twig line 1

Open in your IDE?
  1. {% set content = pimcore_wysiwyg('content') %}
  2. {# add autogenerated meta description #}
  3. {% if document is instanceof('\\Pimcore\\Model\\Document\\Page') %}
  4.   {% if document.getDescription() is empty %}
  5.       {% do pimcore_head_meta().setDescription(content.getData(), 160) %}
  6.   {% endif %}
  7. {% endif %}
  8. <section class="area-wysiwyg">
  9.     {% apply pimcore_glossary %}
  10.         {{ content|raw }}
  11.     {% endapply %}
  12. </section>