Answers from the community

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
Using block-content-to-react with Gatsby GraphQL data14Apr 24, 2020
Tips for using block-content-to-react in a Gatsby app with GraphQL data14Apr 24, 2020
How to create unpublished document with Sanity JS client?4Apr 23, 2020
Adding and unpublishing documents through the Sanity API client4Apr 23, 2020
Dynamic document icons based on document values in Structure Builder4Apr 23, 2020
Using media preview for dynamic document icons in Sanity structure builder4Apr 23, 2020
How to override string field height to display full content in Sanity?9Apr 23, 2020
Changing a string field to a text field in Sanity.io9Apr 23, 2020
How to detect if document is draft in Sanity schema preview?4Apr 23, 2020
Checking if a schema preview is a draft in Sanity.io4Apr 23, 2020
Converting SVG to raster format using Sanity asset pipeline8Apr 23, 2020
Strategies for draft changes visible in preview but not production5Apr 22, 2020
Change Sanity basePath with environment variables for Netlify deployment21Apr 22, 2020
Setting JSON field value in document action causes validation error12Apr 22, 2020
Issue setting value of JSON field in Sanity document action11Apr 22, 2020
How to import Sanity's built-in slugify function?10Apr 22, 2020
Does Sanity expose its built-in slugify function for import?6Apr 22, 2020
How to use a custom preview component on the document view?16Apr 21, 2020