| @@ -92,9 +92,9 @@ | ||
| 92 | 92 | return [ 'widget-tabs' ]; |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | public function show_in_panel(): bool { |
| 96 | - return ! Plugin::$instance->experiments->is_feature_active( 'container' ); | |
| 96 | + return ! Plugin::$instance->experiments->is_feature_active( 'nested-elements', true ); | |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | 99 | public function has_widget_inner_wrapper(): bool { |
| 100 | 100 | return ! Plugin::$instance->experiments->is_feature_active( 'e_optimized_markup' ); |
| @@ -585,37 +585,8 @@ | ||
| 585 | 585 | * |
| 586 | 586 | * @since 2.9.0 |
| 587 | 587 | * @access protected |
| 588 | 588 | */ |
| 589 | - public function render_markdown(): string { | |
| 590 | - $tabs = $this->get_settings_for_display( 'tabs' ); | |
| 591 | - | |
| 592 | - if ( empty( $tabs ) ) { | |
| 593 | - return ''; | |
| 594 | - } | |
| 595 | - | |
| 596 | - $sections = []; | |
| 597 | - | |
| 598 | - foreach ( $tabs as $item ) { | |
| 599 | - $title = Utils::html_to_plain_text( $item['tab_title'] ?? '' ); | |
| 600 | - $content = \Elementor\Modules\MarkdownRender\Html_To_Markdown::convert( $item['tab_content'] ?? '' ); | |
| 601 | - | |
| 602 | - if ( empty( $title ) && empty( $content ) ) { | |
| 603 | - continue; | |
| 604 | - } | |
| 605 | - | |
| 606 | - $section = '### ' . $title; | |
| 607 | - | |
| 608 | - if ( ! empty( $content ) ) { | |
| 609 | - $section .= "\n\n" . $content; | |
| 610 | - } | |
| 611 | - | |
| 612 | - $sections[] = $section; | |
| 613 | - } | |
| 614 | - | |
| 615 | - return implode( "\n\n", $sections ); | |
| 616 | - } | |
| 617 | - | |
| 618 | 589 | protected function content_template() { |
| 619 | 590 | ?> |
| 620 | 591 | <div class="elementor-tabs" role="tablist" aria-orientation="vertical"> |
| 621 | 592 | <# if ( settings.tabs ) { |