CKEditor text fields as own entity in Field Entries (graphql, headless) #232
-
I would like to use the ckeditor field in the same way as the matrix field. It is possible to fetch all the nested entries with graphql, but not the html between nested entries. e.g. I have a
Right now there is no clean solution for rendering the whole richText with own (react) components. Is it possible to add the text between nested components as own field? e.g.
I know that you could use Right now I am forced to use the matrix field with the ckeditor without nested fields to get all the information as clean json. The authoring experience would be better if i could use only the ckeditor with all the other entry types as nested fields. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
From your GraphQL schema, you can select query {
entries (field: "body") {
id
...on entryTypeHandle_Entry {
customFieldHandle
}
}
} |
Beta Was this translation helpful? Give feedback.
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 viaentries
andentry
queries. You can target them using thefield
param: