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
Issue with focalpoint cropping in Sanity images3Jun 29, 2020
Tips for localizing the rich text editor in Sanity.io using a custom localeBlock type.8May 14, 2020
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
How to import PortableText in Vue.js3Apr 8, 2020
Building a rich text editor with Portable Text may require writing from scratch, but Sanity's editor could be used outside...3May 27, 2020
Seeking help to generate a table of contents for a blog post using portable text and block-content-to-react.9Jul 1, 2020
Is there an out-of-the-box equivalent of ACF flexible content field in Sanity?3Jul 5, 2020
Changing a string field to a text field in Sanity.io9Apr 23, 2020
Using Portable Text with Gatsby and React, encountering issues with data not showing up on frontend35Apr 7, 2020
Issue with creating a custom annotation in Portable Text in JavaScript.23May 7, 2020
Discussion of the use of `_key` in block-tools tests and differences in output between local and CodeSandbox environments...16Apr 17, 2020
Is it possible to use gatsby-image to render images loaded in Portable Text / Rich Text?8Jan 1, 2021
Trouble implementing internal links in Portable Text, resolved with corrected GROQ query.12Aug 12, 2020
Bug with focus in the studio when clicking on certain fields in a complex schema.15Jan 8, 2021
Troubleshooting Portable Text block importation in Gatsby with Sanity14Oct 18, 2020
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
Adding HTML to a document in Sanity using client.create() function and HTML to Portable Text Field plugin.25Nov 1, 2021