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

Open in your IDE?
  1. {#
  2. {% set content = pimcore_wysiwyg('content', {
  3.     "customConfig" : "/static/ckeditor/ckeditor_config.js"
  4. }) %} #}
  5. {# add autogenerated meta description #}
  6. {#{% if document.getDescription() is empty %}#}
  7. {#    {% do pimcore_head_meta().setDescription(content.getData(), 160) %}#}
  8. {#{% endif %}#}
  9. <section class="area-wysiwyg {% if pimcore_checkbox('marginBottom').isChecked() %}mb-5{% endif %} {% if pimcore_checkbox('marginTop').isChecked() %}mt-5{% endif %}">
  10.     {% if editmode %}
  11.     {% set message = 'Wysiwyg' %}
  12.     {% set type = 'info' %}
  13.     {% include 'includes/basicBlocks/admin/message/tip.html.twig' with {'message': message, 'type' : type} %}
  14.     <div class="row">
  15.         <div class="col-12">
  16.             <div class="alert alert-info">
  17.                 {{ pimcore_checkbox('marginBottom', {
  18.                     'reload' : false
  19.                 }) }}
  20.                 {{ 'Marge onderaan'|trans({}, 'admin') }}
  21.                 {{ pimcore_checkbox('marginTop', {
  22.                     'reload' : false
  23.                 }) }}
  24.                 {{ 'Marge bovenaan'|trans({}, 'admin') }}
  25.             </div>
  26.         </div>
  27.     </div>
  28.     <div class="border border-black p-2">
  29.         {% endif %}
  30.         {{ pimcore_wysiwyg("content", {
  31.             "customConfig" : "/static/ckeditor/ckeditor_config.js"
  32.         }) }}
  33.         {% if editmode %}
  34.     </div>
  35.     {% endif %}
  36. </section>