PluginProbe
Elementor Website Builder – more than just a page builder / 3.31.4
Elementor Website Builder – more than just a page builder v3.31.4
4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 All 455 releases
← All changes | modules/atomic-widgets/elements/atomic-paragraph/atomic-paragraph.html.twig +12 -13 4.3.1 → 3.31.4 View file →
@@ -1,13 +1,12 @@
1 -{% import 'elementor/macros' as m %}
2 -{%- set classes = settings.classes | merge( [ base_styles.base, m.default_tag_class(tag) ] ) | join(' ') -%}
3 -<{{ tag | e('html_tag') }} class="{{ classes }}" data-interaction-id="{{ interaction_id }}"
4 - {{- m.render_custom_attributes(settings) }}>
5 -{%- if settings.link is defined and settings.link.href is defined and settings.link.href is not empty -%}
6 - <{{ settings.link.tag | default('a') | e('html_tag') }}
7 - {{- m.render_link_attributes(settings.link) }} class="{{ base_styles['link-base'] }} {{ m.default_tag_class(settings.link.tag | default('a')) }}">
8 - {{ settings.paragraph | striptags('<b><strong><sup><sub><s><em><u><ul><ol><li><blockquote><a><del><span><br>') | raw }}
9 - </{{ settings.link.tag | default('a') | e('html_tag') }}>
10 -{%- else -%}
11 - {{ settings.paragraph | striptags('<b><strong><sup><sub><s><em><u><ul><ol><li><blockquote><a><del><span><br>') | raw }}
12 -{%- endif %}
13 -</{{ tag | e('html_tag') }}>
1 +{% if settings.paragraph is not empty %}
2 + {% set id_attribute = settings._cssid is not empty ? 'id=' ~ settings._cssid | e('html_attr') : '' %}
3 + <p class="{{ settings.classes | merge( [ base_styles.base ] ) | join(' ') }}" {{ id_attribute }} {{ settings.attributes | raw }}>
4 + {% if settings.link.href %}
5 + <a href="{{ settings.link.href }}" target="{{ settings.link.target }}" class="{{ base_styles['link-base'] }}">
6 + {{ settings.paragraph }}
7 + </a>
8 + {% else %}
9 + {{ settings.paragraph }}
10 + {% endif %}
11 + </p>
12 +{% endif %}