# Issues with displaying multiple paragraphs

**URL:** <https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564>\
**Category:** Developing with Prismic\
**Tags:** javascript\
**Created:** [June 1, 2021, 5:57pm UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564 "2021-06-01T17:57:38Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevin.reevers](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/kevin.reevers/32/703_2.png) [@kevin.reevers](https://community.prismic.io/u/kevin.reevers)\
**Post date:** [June 1, 2021, 5:57pm UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564/1 "2021-06-01T17:57:38Z")

</div>

Running into issues with my custom type field not displaying multiple paragraphs.

[example document](https://wisdom.prismic.io/documents~k=profile&b=working&c=published&l=en-us/YG-UaxIAACEAeaT3/)  
[referenced custom type](https://wisdom.prismic.io/masks/profile.json/)  
[live url](https://www.wisdompanel.com/en-us/our-science)

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [June 3, 2021, 8:24am UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564/3 "2021-06-03T08:24:18Z")

</div>

Hello Kevin,

Thanks for reaching out to us.

Could you please share the Custom Type name and API ID of the field? Because the URL for referenced Custom Type doesn't work for me, I don't have direct access. You can send me a private message, though.

I am looking forward to hearing from you back.

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [June 7, 2021, 12:06pm UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564/4 "2021-06-07T12:06:59Z")

</div>

Hello Kevin,

I can see the return list of all the paragraphs as usual.

 ![Screen Shot 2021-06-07 at 14.04.10](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/5/5829d8b38de0ad2c9a225e581725c32414fcc5e8.png)

Are you outputting the text using `asText` ? If so, then it will combine all the paragraphs into a single string.

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![kevin.reevers](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/kevin.reevers/32/703_2.png) [@kevin.reevers](https://community.prismic.io/u/kevin.reevers)\
**Post date:** [June 7, 2021, 3:19pm UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564/5 "2021-06-07T15:19:10Z")

</div>

Apologies, I could have been clearer. I'm referencing the profile a part of the slice my page custom type [here's it's output](https://gist.github.com/theklr/a2787528be4c4632537e41f717b0f6cc)

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [June 9, 2021, 2:34pm UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564/6 "2021-06-09T14:34:16Z")

</div>

Hello @kevin.reevers

I am sorry but I don't find my page Custom Type in your repository. Can you please send me the Custom Type name, the Slice name, and the field name in the Slice?

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![kevin.reevers](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/kevin.reevers/32/703_2.png) [@kevin.reevers](https://community.prismic.io/u/kevin.reevers)\
**Post date:** [June 9, 2021, 5:47pm UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564/7 "2021-06-09T17:47:28Z")

</div>

Custom type name is page, slice name is grid layout, and the field in the slice is grid item

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [June 21, 2021, 1:56pm UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564/8 "2021-06-21T13:56:59Z")

</div>

Hello @kevin.reevers

I have checked in Page Custom Type. The filed grid item is not a Rich text field, it's a Content relationship field. That output will be different for the CR field, like:

 ![Screen Shot 2021-06-21 at 15.55.33](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/7/7bcdf059df49f9518ff34a4fdc5e01277add334e.png)

Let me know if you have any other doubt.

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [July 1, 2021, 6:43pm UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564/9 "2021-07-01T18:43:33Z")

</div>

This thread has been closed due to inactivity. [Flag to reopen](https://community.prismic.io/t/re-open-a-thread/2175).

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [July 2, 2021, 5:06pm UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564/10 "2021-07-02T17:06:11Z")

</div>



---

<div class="post-metadata">

**Author:** ![kevin.reevers](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/kevin.reevers/32/703_2.png) [@kevin.reevers](https://community.prismic.io/u/kevin.reevers)\
**Post date:** [July 2, 2021, 6:00pm UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564/11 "2021-07-02T18:00:05Z")

</div>

Morning [@team-education](https://community.prismic.io/groups/team-education), apologies for the delay, was on vacation; responding to @Priyanka's comment:

Correct, when we use the `grid_item` call we use either a reference to a `whitepaper` or a `profile` document. When referencing the `profile.description`, it's currently only providing the first paragraph

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [July 5, 2021, 5:51pm UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564/13 "2021-07-05T17:51:04Z")

</div>

Thanks for the info @kevin.reevers, we've responded to you in a dm 😃

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [July 9, 2021, 8:53am UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564/16 "2021-07-09T08:53:19Z")

</div>

Hello @kevin.reevers

Yes, this is true fetchLinks only return the first element of the Rich Text field. You have to use the advanced version of fetchLinks to retrieve multiple paragraphs of the Rich Text field called graphQuery.  
Please find the complete detail of [graphQuery documentation](https://prismic.io/docs/technologies/graphquery-rest-api).

Let me know if you have any other doubt.

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [July 10, 2021, 8:54am UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564/17 "2021-07-10T08:54:07Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 3:36pm UTC](https://community.prismic.io/t/issues-with-displaying-multiple-paragraphs/5564/18 "2021-12-09T15:36:46Z")

</div>


