← All changes
|
modules/atomic-widgets/elements/atomic-tabs/atomic-tab-content/atomic-tab-content.php
+1
-8
4.3.0-beta2
→
4.0.0-dev4
View file →
| @@ -2,9 +2,8 @@ | ||
| 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; | |
| 7 | 6 | use Elementor\Modules\AtomicWidgets\PropTypes\Primitives\String_Prop_Type; |
| 8 | 7 | use Elementor\Modules\AtomicWidgets\PropTypes\Size_Prop_Type; |
| 9 | 8 | use Elementor\Modules\AtomicWidgets\Styles\Style_Definition; |
| 10 | 9 | use Elementor\Modules\AtomicWidgets\Styles\Style_Variant; |
| @@ -25,13 +24,11 @@ | ||
| 25 | 24 | use Has_Element_Template; |
| 26 | 25 | |
| 27 | 26 | const BASE_STYLE_KEY = 'base'; |
| 28 | 27 | |
| 29 | - public static $widget_description = 'A tab content panel. Accepts any widget type inside. The index of this e-tab-content MUST match the index of the corresponding e-tab in the e-tabs-menu.'; | |
| 30 | - | |
| 31 | 28 | public function __construct( $data = [], $args = null ) { |
| 32 | 29 | parent::__construct( $data, $args ); |
| 33 | - $this->meta( 'permanently_locked', true ); | |
| 30 | + $this->meta( 'llm_support', false ); | |
| 34 | 31 | } |
| 35 | 32 | |
| 36 | 33 | public static function get_type() { |
| 37 | 34 | return 'e-tab-content'; |
| @@ -54,12 +51,8 @@ | ||
| 54 | 51 | } |
| 55 | 52 | |
| 56 | 53 | public function should_show_in_panel() { |
| 57 | 54 | return false; |
| 58 | - } | |
| 59 | - | |
| 60 | - public static function get_computed_html_tag( array $settings ): string { | |
| 61 | - return Html_Tag_Computer::compute( $settings, 'div' ); | |
| 62 | 55 | } |
| 63 | 56 | |
| 64 | 57 | protected static function define_props_schema(): array { |
| 65 | 58 | return [ |