← All changes
|
modules/atomic-widgets/elements/base/has-element-template.php
+4
-1
4.2.2
→
4.3.0-beta3
View file →
| @@ -94,13 +94,16 @@ | ||
| 94 | 94 | return '<!-- elementor-children-placeholder -->'; |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | protected function build_base_template_context(): array { |
| 98 | + $settings = $this->get_atomic_settings(); | |
| 99 | + | |
| 98 | 100 | return [ |
| 99 | 101 | 'id' => $this->get_id(), |
| 100 | 102 | 'interaction_id' => $this->get_interaction_id(), |
| 101 | 103 | 'type' => $this->get_name(), |
| 102 | - 'settings' => $this->get_atomic_settings(), | |
| 104 | + 'settings' => $settings, | |
| 105 | + 'tag' => static::get_computed_html_tag( $settings ), | |
| 103 | 106 | 'base_styles' => $this->get_base_styles_dictionary(), |
| 104 | 107 | 'children_placeholder' => $this->get_children_placeholder(), |
| 105 | 108 | ]; |
| 106 | 109 | } |