← All changes
|
modules/atomic-widgets/elements/atomic-tabs/atomic-tab-content/atomic-tab-content.php
+5
-0
4.2.0-dev2
→
4.3.1
View file →
| @@ -2,8 +2,9 @@ | ||
| 2 | 2 | namespace Elementor\Modules\AtomicWidgets\Elements\Atomic_Tabs\Atomic_Tab_Content; |
| 3 | 3 | |
| 4 | 4 | use Elementor\Modules\AtomicWidgets\Elements\Base\Atomic_Element_Base; |
| 5 | 5 | use Elementor\Modules\AtomicWidgets\Elements\Base\Has_Element_Template; |
| 6 | +use Elementor\Modules\AtomicWidgets\Elements\Base\Html_Tag_Computer; | |
| 6 | 7 | use Elementor\Modules\AtomicWidgets\PropTypes\Primitives\String_Prop_Type; |
| 7 | 8 | use Elementor\Modules\AtomicWidgets\PropTypes\Size_Prop_Type; |
| 8 | 9 | use Elementor\Modules\AtomicWidgets\Styles\Style_Definition; |
| 9 | 10 | use Elementor\Modules\AtomicWidgets\Styles\Style_Variant; |
| @@ -53,8 +54,12 @@ | ||
| 53 | 54 | } |
| 54 | 55 | |
| 55 | 56 | public function should_show_in_panel() { |
| 56 | 57 | return false; |
| 58 | + } | |
| 59 | + | |
| 60 | + public static function get_computed_html_tag( array $settings ): string { | |
| 61 | + return Html_Tag_Computer::compute( $settings, 'div' ); | |
| 57 | 62 | } |
| 58 | 63 | |
| 59 | 64 | protected static function define_props_schema(): array { |
| 60 | 65 | return [ |