Skip to content

Commit d13eb94

Browse files
Update visual choice control example
1 parent 0a54167 commit d13eb94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/editor-controls/control-visual-choice.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ class Elementor_Test_Widget extends \Elementor\Widget_Base {
111111
'label' => esc_html__( 'Structure', 'textdomain' ),
112112
'type' => \Elementor\Controls_Manager::VISUAL_CHOICE,
113113
'label_block' => true,
114-
'default' => 'masonry',
115-
'columns' => 3,
116114
'options' => [
117115
'grid-3' => [
118116
'title' => esc_attr__( 'Grid: 3 columns.', 'textdomain' ),
@@ -139,6 +137,8 @@ class Elementor_Test_Widget extends \Elementor\Widget_Base {
139137
'image' => plugins_url( 'assets/img/stretch.svg', __FILE__ ),
140138
]
141139
],
140+
'default' => 'masonry',
141+
'columns' => 3,
142142
'prefix_class' => 'some-layout-',
143143
]
144144
);

0 commit comments

Comments
 (0)