| @@ -258,10 +258,10 @@ | ||
| 258 | 258 | [ |
| 259 | 259 | 'label' => esc_html__( 'Alignment', 'elementor' ), |
| 260 | 260 | 'type' => Controls_Manager::CHOOSE, |
| 261 | 261 | 'options' => [ |
| 262 | - 'start' => [ | |
| 263 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 262 | + 'left' => [ | |
| 263 | + 'title' => esc_html__( 'Left', 'elementor' ), | |
| 264 | 264 | 'icon' => 'eicon-h-align-left', |
| 265 | 265 | ], |
| 266 | 266 | 'center' => [ |
| 267 | 267 | 'title' => esc_html__( 'Center', 'elementor' ), |
| @@ -266,19 +266,14 @@ | ||
| 266 | 266 | 'center' => [ |
| 267 | 267 | 'title' => esc_html__( 'Center', 'elementor' ), |
| 268 | 268 | 'icon' => 'eicon-h-align-center', |
| 269 | 269 | ], |
| 270 | - 'end' => [ | |
| 271 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 270 | + 'right' => [ | |
| 271 | + 'title' => esc_html__( 'Right', 'elementor' ), | |
| 272 | 272 | 'icon' => 'eicon-h-align-right', |
| 273 | 273 | ], |
| 274 | 274 | ], |
| 275 | - 'classes_dictionary' => [ | |
| 276 | - 'left' => is_rtl() ? 'end' : 'start', | |
| 277 | - 'right' => is_rtl() ? 'start' : 'end', | |
| 278 | - ], | |
| 279 | 275 | 'prefix_class' => 'elementor%s-align-', |
| 280 | - 'classes' => 'elementor-control-start-end', | |
| 281 | 276 | ] |
| 282 | 277 | ); |
| 283 | 278 | |
| 284 | 279 | $this->add_control( |
| @@ -802,34 +797,8 @@ | ||
| 802 | 797 | * |
| 803 | 798 | * @since 2.9.0 |
| 804 | 799 | * @access protected |
| 805 | 800 | */ |
| 806 | - public function render_markdown(): string { | |
| 807 | - $settings = $this->get_settings_for_display(); | |
| 808 | - | |
| 809 | - if ( empty( $settings['icon_list'] ) ) { | |
| 810 | - return ''; | |
| 811 | - } | |
| 812 | - | |
| 813 | - $lines = []; | |
| 814 | - | |
| 815 | - foreach ( $settings['icon_list'] as $item ) { | |
| 816 | - $text = Utils::html_to_plain_text( $item['text'] ?? '' ); | |
| 817 | - | |
| 818 | - if ( empty( $text ) ) { | |
| 819 | - continue; | |
| 820 | - } | |
| 821 | - | |
| 822 | - if ( ! empty( $item['link']['url'] ) ) { | |
| 823 | - $text = '[' . $text . '](' . esc_url( $item['link']['url'] ) . ')'; | |
| 824 | - } | |
| 825 | - | |
| 826 | - $lines[] = '- ' . $text; | |
| 827 | - } | |
| 828 | - | |
| 829 | - return implode( "\n", $lines ); | |
| 830 | - } | |
| 831 | - | |
| 832 | 801 | protected function content_template() { |
| 833 | 802 | ?> |
| 834 | 803 | <# |
| 835 | 804 | view.addRenderAttribute( 'icon_list', 'class', 'elementor-icon-list-items' ); |