← All changes
|
modules/atomic-widgets/elements/atomic-button/atomic-button.php
+1
-3
4.2.1
→
4.1.0-dev3
View file →
| @@ -53,10 +53,9 @@ | ||
| 53 | 53 | ->default( [ |
| 54 | 54 | 'content' => String_Prop_Type::generate( __( 'Click here', 'elementor' ) ), |
| 55 | 55 | 'children' => [], |
| 56 | 56 | ] ) |
| 57 | - ->description( 'The text displayed on the button.' ) | |
| 58 | - ->alias( 'content', 'label' ), | |
| 57 | + ->description( 'The text displayed on the button.' ), | |
| 59 | 58 | |
| 60 | 59 | 'link' => Link_Prop_Type::make(), |
| 61 | 60 | |
| 62 | 61 | 'tag' => String_Prop_Type::make() |
| @@ -72,9 +71,8 @@ | ||
| 72 | 71 | protected function define_atomic_controls(): array { |
| 73 | 72 | return [ |
| 74 | 73 | Section::make() |
| 75 | 74 | ->set_label( __( 'Content', 'elementor' ) ) |
| 76 | - ->set_id( 'content' ) | |
| 77 | 75 | ->set_items( [ |
| 78 | 76 | Inline_Editing_Control::bind_to( 'text' ) |
| 79 | 77 | ->set_placeholder( __( 'Type your button text here', 'elementor' ) ) |
| 80 | 78 | ->set_label( __( 'Button text', 'elementor' ) ), |