wp-graphql-gutenberg
wp-graphql-gutenberg copied to clipboard
value attribute is empty in CoreQuoteBlock
It seems that there are changes in the structure of the Core Quote Block between WP 5.9 and 6.1.
This results in the issue that the value
attribute queried from GraphlQL returns in an empty property.
... on CoreQuoteBlock {
attributes {
... on CoreQuoteBlockAttributes {
value
citation
}
}
}
An update from my side. WordPress shifted the content of different blocks into "innerBlocks". So in this case.
Our query looks like that now:
... on CoreQuoteBlock {
innerBlocks {
originalContent
}
}