PluginProbe
Elementor Website Builder – more than just a page builder / 4.0.8
Elementor Website Builder – more than just a page builder v4.0.8
4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | modules/atomic-widgets/elements/atomic-paragraph/atomic-paragraph.php +1 -14 4.2.0-beta24.0.8 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' ) ),
@@ -136,17 +134,6 @@
136 134 protected function get_templates(): array {
137 135 return [
138 136 'elementor/elements/atomic-paragraph' => __DIR__ . '/atomic-paragraph.html.twig',
139 137 ];
140 - }
141 -
142 - public function render_markdown(): string {
143 - $settings = $this->get_atomic_settings();
144 - $content = $settings['paragraph'] ?? '';
145 -
146 - if ( empty( $content ) ) {
147 - return '';
148 - }
149 -
150 - return \Elementor\Modules\MarkdownRender\Html_To_Markdown::convert( $content );
151 138 }
152 139 }