| @@ -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-text-align-left', |
| 265 | 265 | ], |
| 266 | 266 | 'center' => [ |
| 267 | 267 | 'title' => esc_html__( 'Center', 'elementor' ), |
| @@ -266,18 +266,13 @@ | ||
| 266 | 266 | 'center' => [ |
| 267 | 267 | 'title' => esc_html__( 'Center', 'elementor' ), |
| 268 | 268 | 'icon' => 'eicon-text-align-center', |
| 269 | 269 | ], |
| 270 | - 'end' => [ | |
| 271 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 270 | + 'right' => [ | |
| 271 | + 'title' => esc_html__( 'Right', 'elementor' ), | |
| 272 | 272 | 'icon' => 'eicon-text-align-right', |
| 273 | 273 | ], |
| 274 | 274 | ], |
| 275 | - 'classes' => 'elementor-control-start-end', | |
| 276 | - 'selectors_dictionary' => [ | |
| 277 | - 'left' => is_rtl() ? 'end' : 'start', | |
| 278 | - 'right' => is_rtl() ? 'start' : 'end', | |
| 279 | - ], | |
| 280 | 275 | 'selectors' => [ |
| 281 | 276 | '{{WRAPPER}}' => 'text-align: {{VALUE}};', |
| 282 | 277 | ], |
| 283 | 278 | ] |
| @@ -581,10 +576,10 @@ | ||
| 581 | 576 | [ |
| 582 | 577 | 'label' => esc_html__( 'Alignment', 'elementor' ), |
| 583 | 578 | 'type' => Controls_Manager::CHOOSE, |
| 584 | 579 | 'options' => [ |
| 585 | - 'start' => [ | |
| 586 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 580 | + 'left' => [ | |
| 581 | + 'title' => esc_html__( 'Left', 'elementor' ), | |
| 587 | 582 | 'icon' => 'eicon-text-align-left', |
| 588 | 583 | ], |
| 589 | 584 | 'center' => [ |
| 590 | 585 | 'title' => esc_html__( 'Center', 'elementor' ), |
| @@ -589,10 +584,10 @@ | ||
| 589 | 584 | 'center' => [ |
| 590 | 585 | 'title' => esc_html__( 'Center', 'elementor' ), |
| 591 | 586 | 'icon' => 'eicon-text-align-center', |
| 592 | 587 | ], |
| 593 | - 'end' => [ | |
| 594 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 588 | + 'right' => [ | |
| 589 | + 'title' => esc_html__( 'Right', 'elementor' ), | |
| 595 | 590 | 'icon' => 'eicon-text-align-right', |
| 596 | 591 | ], |
| 597 | 592 | 'justify' => [ |
| 598 | 593 | 'title' => esc_html__( 'Justified', 'elementor' ), |
| @@ -598,13 +593,8 @@ | ||
| 598 | 593 | 'title' => esc_html__( 'Justified', 'elementor' ), |
| 599 | 594 | 'icon' => 'eicon-text-align-justify', |
| 600 | 595 | ], |
| 601 | 596 | ], |
| 602 | - 'classes' => 'elementor-control-start-end', | |
| 603 | - 'selectors_dictionary' => [ | |
| 604 | - 'left' => is_rtl() ? 'end' : 'start', | |
| 605 | - 'right' => is_rtl() ? 'start' : 'end', | |
| 606 | - ], | |
| 607 | 597 | 'default' => '', |
| 608 | 598 | 'selectors' => [ |
| 609 | 599 | '{{WRAPPER}} .widget-image-caption' => 'text-align: {{VALUE}};', |
| 610 | 600 | ], |
| @@ -831,9 +821,9 @@ | ||
| 831 | 821 | |
| 832 | 822 | var link_url; |
| 833 | 823 | |
| 834 | 824 | if ( 'custom' === settings.link_to ) { |
| 835 | - link_url = settings.link?.url; | |
| 825 | + link_url = settings.link.url; | |
| 836 | 826 | } |
| 837 | 827 | |
| 838 | 828 | if ( 'file' === settings.link_to ) { |
| 839 | 829 | link_url = settings.image.url; |