← All changes
|
modules/atomic-widgets/elements/atomic-paragraph/atomic-paragraph.php
+1
-3
4.2.0-beta2
→
4.1.4
View file →
| @@ -55,10 +55,9 @@ | ||
| 55 | 55 | ->default( [ |
| 56 | 56 | 'content' => String_Prop_Type::generate( __( 'Type your paragraph here', 'elementor' ) ), |
| 57 | 57 | 'children' => [], |
| 58 | 58 | ] ) |
| 59 | - ->description( 'The text content of the paragraph.' ) | |
| 60 | - ->alias( 'text', 'content' ), | |
| 59 | + ->description( 'The text content of the paragraph.' ), | |
| 61 | 60 | |
| 62 | 61 | 'tag' => String_Prop_Type::make() |
| 63 | 62 | ->enum( [ 'p', 'span' ] ) |
| 64 | 63 | ->default( 'p' ), |
| @@ -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( 'paragraph' ) |
| 79 | 77 | ->set_placeholder( __( 'Type your paragraph here', 'elementor' ) ) |
| 80 | 78 | ->set_label( __( 'Paragraph', 'elementor' ) ), |