← All changes
|
modules/atomic-widgets/elements/atomic-tabs/atomic-tab-content/atomic-tab-content.html.twig
+3
-1
4.2.0
→
4.3.2
View file →
| @@ -1,5 +1,6 @@ | ||
| 1 | -{% set classes = ['e-con', 'e-atomic-element', base_styles.base] | merge(settings.classes | default([])) | join(' ') %} | |
| 1 | +{% import 'elementor/macros' as m %} | |
| 2 | +{% set classes = ['e-con', 'e-atomic-element', base_styles.base, m.default_tag_class('div')] | merge(settings.classes | default([])) | join(' ') %} | |
| 2 | 3 | <div class="{{ classes }} {{ editor_classes | default('') }}{{ is_active ? ' e--selected' : '' }}" |
| 3 | 4 | data-id="{{ id }}" |
| 4 | 5 | data-element_type="{{ type }}" |
| 5 | 6 | data-e-type="{{ type }}" |
| @@ -6,8 +7,9 @@ | ||
| 6 | 7 | data-interaction-id="{{ interaction_id }}" |
| 7 | 8 | data-interactions="{{ interactions | json_encode | e('html_attr') }}" |
| 8 | 9 | role="tabpanel" |
| 9 | 10 | x-bind="tabContent" |
| 11 | + x-ref="{{ id }}" | |
| 10 | 12 | id="{{ tab_content_id }}" |
| 11 | 13 | aria-labelledby="{{ tab_id }}" |
| 12 | 14 | {% if not is_active %} hidden="true" style="display: none;"{% endif %} |
| 13 | 15 | {% if settings.attributes is defined and settings.attributes is not empty %} |