| @@ -100,9 +100,9 @@ | ||
| 100 | 100 | * @since 3.15.0 |
| 101 | 101 | * @return bool |
| 102 | 102 | */ |
| 103 | 103 | public function show_in_panel(): bool { |
| 104 | - return ! Plugin::$instance->experiments->is_feature_active( 'container' ); | |
| 104 | + return ! Plugin::$instance->experiments->is_feature_active( 'nested-elements', true ); | |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | public function has_widget_inner_wrapper(): bool { |
| 108 | 108 | return ! Plugin::$instance->experiments->is_feature_active( 'e_optimized_markup' ); |
| @@ -737,27 +737,6 @@ | ||
| 737 | 737 | } ); |
| 738 | 738 | } #> |
| 739 | 739 | </div> |
| 740 | 740 | <?php |
| 741 | - } | |
| 742 | - | |
| 743 | - public function render_markdown(): string { | |
| 744 | - $settings = $this->get_settings_for_display(); | |
| 745 | - if ( empty( $settings['tabs'] ) ) { | |
| 746 | - return ''; | |
| 747 | - } | |
| 748 | - $sections = []; | |
| 749 | - foreach ( $settings['tabs'] as $item ) { | |
| 750 | - $title = Utils::html_to_plain_text( $item['tab_title'] ?? '' ); | |
| 751 | - $content = \Elementor\Modules\MarkdownRender\Html_To_Markdown::convert( $item['tab_content'] ?? '' ); | |
| 752 | - if ( empty( $title ) && empty( $content ) ) { | |
| 753 | - continue; | |
| 754 | - } | |
| 755 | - $section = '### ' . $title; | |
| 756 | - if ( ! empty( $content ) ) { | |
| 757 | - $section .= "\n\n" . $content; | |
| 758 | - } | |
| 759 | - $sections[] = $section; | |
| 760 | - } | |
| 761 | - return implode( "\n\n", $sections ); | |
| 762 | 741 | } |
| 763 | 742 | } |