Skip to content

Commit

Permalink
Merge branch 'padms/2134' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
padms committed Mar 7, 2024
2 parents aae7189 + 2ced345 commit 59a8341
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sanityv3/schemas/documents/newsroom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const textContentType = configureBlockContent({
h3: false,
h4: false,
externalLink: false,
internalLink: false,
internalLink: true,
lists: false,
attachment: false,
})
Expand Down
6 changes: 5 additions & 1 deletion web/lib/queries/newsroom.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import markDefs from './common/blockEditorMarks'
import { sameLang } from './common/langAndDrafts'
import { seoAndSomeFields } from './common/seoAndSomeFields'

Expand All @@ -6,6 +7,9 @@ export const newsroomQuery = /* groq */ `
_id,
"seoAndSome": ${seoAndSomeFields},
title,
ingress,
ingress[]{
...,
${markDefs},
},
backgroundImage
}`

0 comments on commit 59a8341

Please sign in to comment.