| @@ -303,10 +303,10 @@ | ||
| 303 | 303 | 'label' => esc_html__( 'Border Color', 'elementor' ), |
| 304 | 304 | 'type' => Controls_Manager::COLOR, |
| 305 | 305 | 'selectors' => [ |
| 306 | 306 | '{{WRAPPER}} .elementor-accordion-item' => 'border-color: {{VALUE}};', |
| 307 | - '{{WRAPPER}} .elementor-accordion-item .elementor-tab-content' => 'border-block-start-color: {{VALUE}};', | |
| 308 | - '{{WRAPPER}} .elementor-accordion-item .elementor-tab-title.elementor-active' => 'border-block-end-color: {{VALUE}};', | |
| 307 | + '{{WRAPPER}} .elementor-accordion-item .elementor-tab-content' => 'border-top-color: {{VALUE}};', | |
| 308 | + '{{WRAPPER}} .elementor-accordion-item .elementor-tab-title.elementor-active' => 'border-bottom-color: {{VALUE}};', | |
| 309 | 309 | ], |
| 310 | 310 | ] |
| 311 | 311 | ); |
| 312 | 312 | |
| @@ -474,9 +474,10 @@ | ||
| 474 | 474 | 'max' => 1, |
| 475 | 475 | ], |
| 476 | 476 | ], |
| 477 | 477 | 'selectors' => [ |
| 478 | - '{{WRAPPER}} .elementor-accordion-icon' => 'margin-inline-end: {{SIZE}}{{UNIT}};', | |
| 478 | + '{{WRAPPER}} .elementor-accordion-icon.elementor-accordion-icon-left' => 'margin-right: {{SIZE}}{{UNIT}};', | |
| 479 | + '{{WRAPPER}} .elementor-accordion-icon.elementor-accordion-icon-right' => 'margin-left: {{SIZE}}{{UNIT}};', | |
| 479 | 480 | ], |
| 480 | 481 | ] |
| 481 | 482 | ); |
| 482 | 483 | |
| @@ -657,37 +658,8 @@ | ||
| 657 | 658 | * |
| 658 | 659 | * @since 2.9.0 |
| 659 | 660 | * @access protected |
| 660 | 661 | */ |
| 661 | - public function render_markdown(): string { | |
| 662 | - $settings = $this->get_settings_for_display(); | |
| 663 | - | |
| 664 | - if ( empty( $settings['tabs'] ) ) { | |
| 665 | - return ''; | |
| 666 | - } | |
| 667 | - | |
| 668 | - $sections = []; | |
| 669 | - | |
| 670 | - foreach ( $settings['tabs'] as $item ) { | |
| 671 | - $title = Utils::html_to_plain_text( $item['tab_title'] ?? '' ); | |
| 672 | - $content = \Elementor\Modules\MarkdownRender\Html_To_Markdown::convert( $item['tab_content'] ?? '' ); | |
| 673 | - | |
| 674 | - if ( empty( $title ) && empty( $content ) ) { | |
| 675 | - continue; | |
| 676 | - } | |
| 677 | - | |
| 678 | - $section = '### ' . $title; | |
| 679 | - | |
| 680 | - if ( ! empty( $content ) ) { | |
| 681 | - $section .= "\n\n" . $content; | |
| 682 | - } | |
| 683 | - | |
| 684 | - $sections[] = $section; | |
| 685 | - } | |
| 686 | - | |
| 687 | - return implode( "\n\n", $sections ); | |
| 688 | - } | |
| 689 | - | |
| 690 | 662 | protected function content_template() { |
| 691 | 663 | ?> |
| 692 | 664 | <div class="elementor-accordion"> |
| 693 | 665 | <# |