Update elementor pro

This commit is contained in:
2026-03-24 09:23:15 +01:00
parent ce2d93a202
commit 4c35d65901
559 changed files with 11981 additions and 19280 deletions

View File

@@ -55,8 +55,15 @@ class Tag extends DynamicTagsTag {
'off_canvas',
[
'label' => esc_html__( 'Choose Off-Canvas widget', 'elementor-pro' ),
'atomic_label' => esc_html__( 'Off-canvas widget', 'elementor-pro' ),
'placeholder' => '',
'type' => Controls_Manager::SELECT,
'label_block' => true,
'options' => [
'' => esc_html__( 'Select Off-canvas', 'elementor-pro' ),
],
'default' => '',
'collection_id' => $this->get_name(),
]
);
}

View File

@@ -37,9 +37,8 @@ class Off_Canvas extends Widget_Nested_Base {
return [ 'pro-elements' ];
}
// TODO: Replace this check with `is_active_feature` on 3.28.0 to support is_active_feature second parameter.
public function show_in_panel() {
return Plugin::elementor()->experiments->is_feature_active( 'nested-elements' ) && Plugin::elementor()->experiments->is_feature_active( 'container' );
return Plugin::elementor()->experiments->is_feature_active( 'nested-elements', true );
}
public function has_widget_inner_wrapper(): bool {