mirror of
https://github.com/typemill/typemill.git
synced 2025-08-06 14:16:46 +02:00
V2.17.4 fix empty paragraph in twig formbuilder
This commit is contained in:
@@ -39,9 +39,13 @@
|
||||
|
||||
<textarea id="{{ itemName }}[{{ field.name }}]" name="{{ itemName }}[{{ field.name }}]"{{field.getAttributeValues() }}{{ field.getAttributes() }}>{{ field.getContent() }}</textarea>
|
||||
|
||||
{% elseif (field.type == 'paragraph') and (field.getContent() != '') %}
|
||||
{% elseif (field.type == 'paragraph') %}
|
||||
|
||||
{% if (field.getContent() != '') %}
|
||||
|
||||
{{ markdown(field.getContent()) }}
|
||||
{{ markdown(field.getContent()) }}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% elseif field.type == 'checkbox' %}
|
||||
|
||||
|
Reference in New Issue
Block a user