| @@ -92,15 +92,11 @@ | ||
| 92 | 92 | return [ 'widget-tabs' ]; |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | public function show_in_panel(): bool { |
| 96 | - return ! Plugin::$instance->experiments->is_feature_active( 'nested-elements', true ); | |
| 96 | + return ! Plugin::$instance->experiments->is_feature_active( 'nested-elements' ); | |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | - public function has_widget_inner_wrapper(): bool { | |
| 100 | - return ! Plugin::$instance->experiments->is_feature_active( 'e_optimized_markup' ); | |
| 101 | - } | |
| 102 | - | |
| 103 | 99 | /** |
| 104 | 100 | * Register tabs widget controls. |
| 105 | 101 | * |
| 106 | 102 | * Adds different input fields to allow the user to change and customize the widget settings. |
| @@ -186,9 +182,9 @@ | ||
| 186 | 182 | 'default' => 'horizontal', |
| 187 | 183 | 'options' => [ |
| 188 | 184 | 'vertical' => [ |
| 189 | 185 | 'title' => esc_html__( 'Vertical', 'elementor' ), |
| 190 | - 'icon' => 'eicon-h-align-left', | |
| 186 | + 'icon' => 'eicon-h-align-' . ( is_rtl() ? 'right' : 'left' ), | |
| 191 | 187 | ], |
| 192 | 188 | 'horizontal' => [ |
| 193 | 189 | 'title' => esc_html__( 'Horizontal', 'elementor' ), |
| 194 | 190 | 'icon' => 'eicon-v-align-top', |
| @@ -193,9 +189,8 @@ | ||
| 193 | 189 | 'title' => esc_html__( 'Horizontal', 'elementor' ), |
| 194 | 190 | 'icon' => 'eicon-v-align-top', |
| 195 | 191 | ], |
| 196 | 192 | ], |
| 197 | - 'classes' => 'elementor-control-start-end', | |
| 198 | 193 | 'prefix_class' => 'elementor-tabs-view-', |
| 199 | 194 | 'separator' => 'before', |
| 200 | 195 | ] |
| 201 | 196 | ); |
| @@ -422,10 +417,10 @@ | ||
| 422 | 417 | [ |
| 423 | 418 | 'label' => esc_html__( 'Alignment', 'elementor' ), |
| 424 | 419 | 'type' => Controls_Manager::CHOOSE, |
| 425 | 420 | 'options' => [ |
| 426 | - 'start' => [ | |
| 427 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 421 | + 'left' => [ | |
| 422 | + 'title' => esc_html__( 'Left', 'elementor' ), | |
| 428 | 423 | 'icon' => 'eicon-text-align-left', |
| 429 | 424 | ], |
| 430 | 425 | 'center' => [ |
| 431 | 426 | 'title' => esc_html__( 'Center', 'elementor' ), |
| @@ -430,17 +425,12 @@ | ||
| 430 | 425 | 'center' => [ |
| 431 | 426 | 'title' => esc_html__( 'Center', 'elementor' ), |
| 432 | 427 | 'icon' => 'eicon-text-align-center', |
| 433 | 428 | ], |
| 434 | - 'end' => [ | |
| 435 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 429 | + 'right' => [ | |
| 430 | + 'title' => esc_html__( 'Right', 'elementor' ), | |
| 436 | 431 | 'icon' => 'eicon-text-align-right', |
| 437 | 432 | ], |
| 438 | - ], | |
| 439 | - 'classes' => 'elementor-control-start-end', | |
| 440 | - 'selectors_dictionary' => [ | |
| 441 | - 'left' => is_rtl() ? 'end' : 'start', | |
| 442 | - 'right' => is_rtl() ? 'start' : 'end', | |
| 443 | 433 | ], |
| 444 | 434 | 'selectors' => [ |
| 445 | 435 | '{{WRAPPER}} .elementor-tab-title' => 'text-align: {{VALUE}};', |
| 446 | 436 | ], |