| @@ -304,9 +304,9 @@ | ||
| 304 | 304 | [ |
| 305 | 305 | 'label' => esc_html__( 'Border Color', 'elementor' ), |
| 306 | 306 | 'type' => Controls_Manager::COLOR, |
| 307 | 307 | 'selectors' => [ |
| 308 | - '{{WRAPPER}} .elementor-tab-content' => 'border-block-end-color: {{VALUE}};', | |
| 308 | + '{{WRAPPER}} .elementor-tab-content' => 'border-bottom-color: {{VALUE}};', | |
| 309 | 309 | '{{WRAPPER}} .elementor-tab-title' => 'border-color: {{VALUE}};', |
| 310 | 310 | ], |
| 311 | 311 | ] |
| 312 | 312 | ); |
| @@ -328,9 +328,9 @@ | ||
| 328 | 328 | 'max' => 10, |
| 329 | 329 | ], |
| 330 | 330 | ], |
| 331 | 331 | 'selectors' => [ |
| 332 | - '{{WRAPPER}} .elementor-toggle-item:not(:last-child)' => 'margin-block-end: {{SIZE}}{{UNIT}}', | |
| 332 | + '{{WRAPPER}} .elementor-toggle-item:not(:last-child)' => 'margin-bottom: {{SIZE}}{{UNIT}}', | |
| 333 | 333 | ], |
| 334 | 334 | ] |
| 335 | 335 | ); |
| 336 | 336 | |
| @@ -498,9 +498,10 @@ | ||
| 498 | 498 | 'max' => 10, |
| 499 | 499 | ], |
| 500 | 500 | ], |
| 501 | 501 | 'selectors' => [ |
| 502 | - '{{WRAPPER}} .elementor-toggle-icon' => 'margin-inline-end: {{SIZE}}{{UNIT}};', | |
| 502 | + '{{WRAPPER}} .elementor-toggle-icon.elementor-toggle-icon-left' => 'margin-right: {{SIZE}}{{UNIT}};', | |
| 503 | + '{{WRAPPER}} .elementor-toggle-icon.elementor-toggle-icon-right' => 'margin-left: {{SIZE}}{{UNIT}};', | |
| 503 | 504 | ], |
| 504 | 505 | ] |
| 505 | 506 | ); |
| 506 | 507 | |
| @@ -737,27 +738,6 @@ | ||
| 737 | 738 | } ); |
| 738 | 739 | } #> |
| 739 | 740 | </div> |
| 740 | 741 | <?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 | 742 | } |
| 763 | 743 | } |