Using Tailwind Classes (v3) within Sanity rawHTML Blocks
And update your tailwind’s purge/content key to scan whether your
serializersare configured as they likely contain classes.
Typically you’d want to have a migration script to convert HTML to Portable Text to store in Sanity.
Was this answer helpful?
Sanity – Build the way you think, not the way your CMS thinks
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.