I found this post … If I insert those 2 code it inserts the text in a single paragraph and not in several paragraphs like gutemberg does.
Come can I do?
Thanks
https://wordpress.org/support/topic/importing-content-into-paragraph-block/
Hi @ricsca2,
I found this post … If I insert those 2 code it inserts the text in a single paragraph and not in several paragraphs like gutemberg does. Come can I do?
You’ll need multiple paragraph tags to break the text up into multiple paragraph blocks, e.g.:
<!-- wp:paragraph -->
<p>Paragraph 1 Text.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Paragraph 2 Text.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Paragraph 3 Text.</p>
<!-- /wp:paragraph -->
To save time, you could write a custom PHP function that automatically adds the paragraph tags to your content element: https://www.wpallimport.com/documentation/developers/custom-code/inline-php/.
Hi @ricsca2,
I’m going to go ahead and mark this as resolved since it’s been a while. You can follow up here if you still have questions.
If anyone else reading this has questions, please open a new topic.