Answers from the community about Portable Text

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

TopicCategoriesFeaturedRepliesLast Updated
Adding HTML to Sanity document via client.create()25Nov 1, 2021
Get image metadata from image component inside block type with GraphQL11Oct 29, 2021
Block validator error: whitespace validation function not working10Oct 20, 2021
Best way to query GROQ for blog body with list, marks, and formatting?11Oct 19, 2021
Error rendering Sanity block content: Objects not valid as React child4Oct 5, 2021
Discussion comparing Delta and Portable Text formats for storing rich text5Oct 1, 2021
Querying nested array objects with block content in Sanity GraphQL6Sep 29, 2021
Custom object preview in Portable Text block not working12Sep 28, 2021
How to render HTML tags in Sanity block content instead of plain text?6Sep 23, 2021
Connecting Sanity CMS to 11ty Frontend Tutorial or Reference8Sep 16, 2021
GROQ query for Mux video asset returning only _ref instead of full data10Sep 11, 2021
Issue with adding a custom video block to a portable text field in Sanity.io6Sep 10, 2021
How to Create Grid or Table Components for Portable Text7Sep 8, 2021
Custom icons for dynamic sections with rich text editor in Sanity17Aug 23, 2021
How to reference Sanity Slack thread response10Aug 22, 2021
Reference fields not resolving in Portable Text serializer components15Aug 14, 2021
Best practice for alt text on images in block content?9Jul 20, 2021
Troubleshooting Next.js and Sanity integration, with issues outputting data13Jul 2, 2021