diff --git a/sanityv3/sanity.cli.ts b/sanityv3/sanity.cli.ts new file mode 100644 index 000000000..0f4203b9f --- /dev/null +++ b/sanityv3/sanity.cli.ts @@ -0,0 +1,10 @@ +// Need to deploy using CLI +import { defineCliConfig } from 'sanity/cli' +import { dataset, projectId } from './sanity.client' + +export default defineCliConfig({ + api: { + projectId, + dataset, + }, +}) diff --git a/sanityv3/schemas/objects/imageWithAlt.tsx b/sanityv3/schemas/objects/imageWithAlt.tsx index da1c3f26f..b14d5679e 100644 --- a/sanityv3/schemas/objects/imageWithAlt.tsx +++ b/sanityv3/schemas/objects/imageWithAlt.tsx @@ -13,6 +13,7 @@ export default { type: 'image', options: { hotspot: true, + collapsed: false, }, fields: [ { diff --git a/sanityv3/schemas/objects/imageWithAltAndCaption.tsx b/sanityv3/schemas/objects/imageWithAltAndCaption.tsx index d0b1f2c2a..bfe08365f 100644 --- a/sanityv3/schemas/objects/imageWithAltAndCaption.tsx +++ b/sanityv3/schemas/objects/imageWithAltAndCaption.tsx @@ -13,6 +13,9 @@ export default { name: 'imageWithAltAndCaption', title: 'Image', type: 'object', + options: { + collapsed: false, + }, fields: [ { name: 'image',