← All changes
|
modules/atomic-widgets/elements/atomic-heading/atomic-heading.php
+3
-1
4.1.0-beta1
→
4.2.4
View file →
| @@ -59,9 +59,10 @@ | ||
| 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.' ), | |
| 63 | + ->description( 'The text content of the heading.' ) | |
| 64 | + ->alias( 'text', 'content', 'heading' ), | |
| 64 | 65 | |
| 65 | 66 | 'link' => Link_Prop_Type::make(), |
| 66 | 67 | |
| 67 | 68 | 'attributes' => Attributes_Prop_Type::make()->meta( Overridable_Prop_Type::ignore() ), |
| @@ -70,8 +71,9 @@ | ||
| 70 | 71 | |
| 71 | 72 | protected function define_atomic_controls(): array { |
| 72 | 73 | $content_section = Section::make() |
| 73 | 74 | ->set_label( __( 'Content', 'elementor' ) ) |
| 75 | + ->set_id( 'content' ) | |
| 74 | 76 | ->set_items( [ |
| 75 | 77 | Inline_Editing_Control::bind_to( 'title' ) |
| 76 | 78 | ->set_placeholder( __( 'Type your title here', 'elementor' ) ) |
| 77 | 79 | ->set_label( __( 'Title', 'elementor' ) ), |