Skip to content

CKEditor text fields as own entity in Field Entries (graphql, headless) #232

Closed Answered by brandonkelly
burningchair asked this question in Ideas
Discussion options

You must be logged in to vote

From your GraphQL schema, you can select Query for entries in the “[Field Name]” CKEditor field under “Entries”, and that field’s nested entries will be accessible via entries and entry queries. You can target them using the field param:

query {
  entries (field: "body") {
    id
    ...on entryTypeHandle_Entry {
      customFieldHandle
    }
  }
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@brandonkelly
Comment options

@burningchair
Comment options

Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants