Adding a script to the header of the sanity studio, but I can't find where i can make additions to the <head> element.
{
"implements": "part:@sanity/base/document",
"path": "components/Document.js"
}parcel build src/Document.js --out-dir lib/sanity init plugin -> Studio logo) is the easiest way to load something on every page - so you might be better off using something like that. But that may be the hacker in me speaking.
https://github.com/sanity-io/sanity-plugin-asset-source-cloudinary/blob/be07c49fb62d444d78568016a25e4687bb5b5715/src/components/CloudinaryAssetSource.tsx#L8
https://github.com/sanity-io/sanity-plugin-asset-source-cloudinary/blob/b56e9ad6daa5b44f006765addbf29e40e4dc3a4b/src/utils.ts#L3
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.