{% if editmode %}
<div class="edit-box small">
<div class="flex gap-20">
<div class="content flex column gap-20">
<div class="content-box flex gap-20">
<div class="item">
<p class="edit-p" style="color: black!important;">Texttyp wählen:</p>
{{ pimcore_select("TextType", {
"reload": true,
"store": [
["lead", "Lead Text"],
["basic", "Fliess Text"]
],
"defaultValue" : "lead"
}) }}
</div>
<div class="item">
<p class="edit-p" style="color: black!important;">Text breite:</p>
{{ pimcore_select("TextWidth", {
"reload": true,
"store": [
["full-width", "Voll"],
[" ", "Standard"]
],
"defaultValue" : " "
}) }}
</div>
<div class="item">
<p class="edit-p" style="color: black!important;">Abstände oben und unten:</p>
{{ pimcore_select("Padding", {
"reload": true,
"store": [
["small", "Klein"],
["default", "Standard"]
],
"defaultValue" : "default"
}) }}
</div>
</div>
</div>
</div>
</div>
{% endif %}
<div class="text-basic-lead {{ pimcore_select("TextType").getData() }} {{ pimcore_select("TextWidth").getData() }} {{ pimcore_select("Padding").getData() }}">
{% if editmode %}
{{ pimcore_wysiwyg('Content', {
height: 300,
customConfig: '/assets/js/editmode/config.js'
}) }}
{% elseif not pimcore_wysiwyg('Content').isEmpty() %}
{{ pimcore_wysiwyg('Content').getData() | raw }}
{% endif %}
</div>