PluginProbe
Elementor Website Builder – more than just a page builder / 3.34.0-beta1
Elementor Website Builder – more than just a page builder v3.34.0-beta1
4.3.4 4.3.3 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 All 457 releases
← All changes | modules/atomic-widgets/elements/atomic-heading/atomic-heading.html.twig +8 -7 4.0.9 → 3.34.0-beta1 View file →
@@ -1,20 +1,21 @@
1 1 {% if settings.title is not empty %}
2 2 {% set id_attribute = settings._cssid is not empty ? 'id=' ~ settings._cssid | e('html_attr') : '' %}
3 3 <{{ settings.tag | e('html_tag') }}
4 - data-interaction-id="{{ interaction_id }}"
4 + data-interaction-id="{{ id }}"
5 5 class="{{ settings.classes | merge( [ base_styles.base ] ) | join(' ') }}"
6 6 {{ id_attribute }}
7 7 {{ settings.attributes | raw }}
8 + {% if interactions and interactions is not empty %}
9 + data-interactions="{{ interactions | json_encode | e('html_attr') }}"
10 +{% endif %}
8 11 >
9 - {% set allowed_tags = '<b><strong><sup><sub><s><em><i><u><a><del><span><br>' %}
12 + {% set allowed_tags = '<b><strong><em><i><u><a><del><span><br>' %}
10 13
11 - {% if settings.link and settings.link.attributes is not empty %}
12 - <{{ settings.link.tag | e('html_tag') }}
13 - {{ settings.link.attributes | raw }}
14 - class="{{ base_styles['link-base'] }}">
14 + {% if settings.link.href %}
15 + <a href="{{ settings.link.href }}" target="{{ settings.link.target }}" class="{{ base_styles['link-base'] }}">
15 16 {{ settings.title | striptags(allowed_tags) | raw }}
16 - </{{ settings.link.tag | e('html_tag') }}>
17 + </a>
17 18 {% else %}
18 19 {{ settings.title | striptags(allowed_tags) | raw }}
19 20 {% endif %}
20 21 </{{ settings.tag | e('html_tag') }}>