diff --git a/sanityv3/schemas/documents/newsroom.ts b/sanityv3/schemas/documents/newsroom.ts index 4d926a227..f8ba85319 100644 --- a/sanityv3/schemas/documents/newsroom.ts +++ b/sanityv3/schemas/documents/newsroom.ts @@ -14,7 +14,7 @@ const textContentType = configureBlockContent({ h3: false, h4: false, externalLink: false, - internalLink: false, + internalLink: true, lists: false, attachment: false, }) diff --git a/web/lib/queries/newsroom.ts b/web/lib/queries/newsroom.ts index 1e52a6057..52b956688 100644 --- a/web/lib/queries/newsroom.ts +++ b/web/lib/queries/newsroom.ts @@ -1,3 +1,4 @@ +import markDefs from './common/blockEditorMarks' import { sameLang } from './common/langAndDrafts' import { seoAndSomeFields } from './common/seoAndSomeFields' @@ -6,6 +7,9 @@ export const newsroomQuery = /* groq */ ` _id, "seoAndSome": ${seoAndSomeFields}, title, - ingress, + ingress[]{ + ..., + ${markDefs}, + }, backgroundImage }`