See Sanity in action πŸ‘€ Join us for a live product demo + Q&A β†’

Answers from the community about Portable Text

Some of the conversations between community members on questions, suggestions and tips for using Sanity. Join our Slack to be a part of it.

TopicCategoriesFeaturedRepliesLast Updated
Hello all! I’m trying to render a code block in a Portable Text Block, followed the instructions to add the serializer and...10Feb 3, 2021
is there a good solution to center or right align text in the richtext editor?2Dec 3, 2020
Is it possible to use gatsby-image to render images loaded in Portable Text / Rich Text?8Jan 1, 2021
Hi again, I'm currently working on my blog and realized that the text blocks aren't rendering properly in block-content-to-react....9Feb 1, 2021
How to Style a Portable Text Component With '@PortableText'9Feb 22, 2022
Hello everyone and happy new year πŸ™ŒπŸ», I have a problem with outputting Portable Text 😞 this is my code + the error iget....4Jan 1, 2021
Is there a way to insert a custom component between two fields in schema?7Nov 9, 2020
`slug` is `undefined` when I track mark and children from internalLink5Dec 14, 2020
How to translate a local url placed inside a content block into a correct nuxt-link or routerlink?3Nov 16, 2020
Writing a custom serializer for @sanity/block-content-to-react2Nov 27, 2020
Can I use preact with block-content-to-react? Are there any examples anywhere?7Sep 17, 2020
How to grab image metadata from images inserted into Content blocks?8Sep 28, 2020
I tried fetching my posts from sanity but got this error, Pls how do i fix it17Jan 8, 2021
it seems like there are some ghost mark types creeping their way into my block content10Oct 12, 2020
How to add a hr Component to `blockContent` Schema3Jun 22, 2020
Examples of Customized Studio Dashboards / Admin Pages6May 1, 2020
GraphQL - Is there a Way to Get the Image Metadata From an Image Component?11Oct 29, 2021
Text Highlighting Decorator is not being Applied in the Front End2Apr 5, 2021