← All changes
|
modules/atomic-widgets/elements/atomic-heading/atomic-heading.php
+1
-3
4.2.0-beta2
→
4.1.4
View file →
| @@ -59,10 +59,9 @@ | ||
| 59 | 59 | ->default( [ |
| 60 | 60 | 'content' => String_Prop_Type::generate( __( 'This is a title', 'elementor' ) ), |
| 61 | 61 | 'children' => [], |
| 62 | 62 | ] ) |
| 63 | - ->description( 'The text content of the heading.' ) | |
| 64 | - ->alias( 'text', 'content', 'heading' ), | |
| 63 | + ->description( 'The text content of the heading.' ), | |
| 65 | 64 | |
| 66 | 65 | 'link' => Link_Prop_Type::make(), |
| 67 | 66 | |
| 68 | 67 | 'attributes' => Attributes_Prop_Type::make()->meta( Overridable_Prop_Type::ignore() ), |
| @@ -71,9 +70,8 @@ | ||
| 71 | 70 | |
| 72 | 71 | protected function define_atomic_controls(): array { |
| 73 | 72 | $content_section = Section::make() |
| 74 | 73 | ->set_label( __( 'Content', 'elementor' ) ) |
| 75 | - ->set_id( 'content' ) | |
| 76 | 74 | ->set_items( [ |
| 77 | 75 | Inline_Editing_Control::bind_to( 'title' ) |
| 78 | 76 | ->set_placeholder( __( 'Type your title here', 'elementor' ) ) |
| 79 | 77 | ->set_label( __( 'Title', 'elementor' ) ), |