| @@ -208,8 +208,10 @@ | ||
| 208 | 208 | ], |
| 209 | 209 | ] |
| 210 | 210 | ); |
| 211 | 211 | |
| 212 | + $aside = is_rtl() ? 'right' : 'left'; | |
| 213 | + | |
| 212 | 214 | $this->add_control( |
| 213 | 215 | 'testimonial_image_position', |
| 214 | 216 | [ |
| 215 | 217 | 'label' => esc_html__( 'Image Position', 'elementor' ), |
| @@ -217,9 +219,9 @@ | ||
| 217 | 219 | 'default' => 'aside', |
| 218 | 220 | 'options' => [ |
| 219 | 221 | 'aside' => [ |
| 220 | 222 | 'title' => esc_html__( 'Aside', 'elementor' ), |
| 221 | - 'icon' => 'eicon-h-align-left', | |
| 223 | + 'icon' => 'eicon-h-align-' . $aside, | |
| 222 | 224 | ], |
| 223 | 225 | 'top' => [ |
| 224 | 226 | 'title' => esc_html__( 'Top', 'elementor' ), |
| 225 | 227 | 'icon' => 'eicon-v-align-top', |
| @@ -229,9 +231,8 @@ | ||
| 229 | 231 | 'condition' => [ |
| 230 | 232 | 'testimonial_image[url]!' => '', |
| 231 | 233 | ], |
| 232 | 234 | 'separator' => 'before', |
| 233 | - 'classes' => 'elementor-control-start-end', | |
| 234 | 235 | 'style_transfer' => true, |
| 235 | 236 | ] |
| 236 | 237 | ); |
| 237 | 238 | |
| @@ -241,10 +242,10 @@ | ||
| 241 | 242 | 'label' => esc_html__( 'Alignment', 'elementor' ), |
| 242 | 243 | 'type' => Controls_Manager::CHOOSE, |
| 243 | 244 | 'default' => 'center', |
| 244 | 245 | 'options' => [ |
| 245 | - 'start' => [ | |
| 246 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 246 | + 'left' => [ | |
| 247 | + 'title' => esc_html__( 'Left', 'elementor' ), | |
| 247 | 248 | 'icon' => 'eicon-text-align-left', |
| 248 | 249 | ], |
| 249 | 250 | 'center' => [ |
| 250 | 251 | 'title' => esc_html__( 'Center', 'elementor' ), |
| @@ -249,17 +250,12 @@ | ||
| 249 | 250 | 'center' => [ |
| 250 | 251 | 'title' => esc_html__( 'Center', 'elementor' ), |
| 251 | 252 | 'icon' => 'eicon-text-align-center', |
| 252 | 253 | ], |
| 253 | - 'end' => [ | |
| 254 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 254 | + 'right' => [ | |
| 255 | + 'title' => esc_html__( 'Right', 'elementor' ), | |
| 255 | 256 | 'icon' => 'eicon-text-align-right', |
| 256 | 257 | ], |
| 257 | - ], | |
| 258 | - 'classes' => 'elementor-control-start-end', | |
| 259 | - 'selectors_dictionary' => [ | |
| 260 | - 'left' => is_rtl() ? 'end' : 'start', | |
| 261 | - 'right' => is_rtl() ? 'start' : 'end', | |
| 262 | 258 | ], |
| 263 | 259 | 'selectors' => [ |
| 264 | 260 | '{{WRAPPER}} .elementor-testimonial-wrapper' => 'text-align: {{VALUE}}', |
| 265 | 261 | ], |