You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Querying CoreFootnotes (a newish block as of WP 6.1 I believe) in the current version of wp-graphql-content-blocks returns no data. I don't know how Gutenberg stores the footnotes but it would be nice to be able to query them.
To reproduce, using a stock WP 6.6.0, create a post and insert a footnote. then query it using the following query
query PageContent {
posts {
nodes {
id
editorBlocks {
... on CoreFootnotes {
apiVersion
blockEditorCategoryName
renderedHtml
attributes {
backgroundColor
borderColor
className
fontFamily
fontSize
lock
metadata
style
textColor
}
clientId
cssClassNames
isDynamic
name
parentClientId
innerBlocks {
name
renderedHtml
}
}
... on CoreParagraph {
anchor
apiVersion
attributes {
content
}
name
}
}
}
}
}
For illustration I've queried every single field on CoreFootnotes.
Querying CoreFootnotes (a newish block as of WP 6.1 I believe) in the current version of wp-graphql-content-blocks returns no data. I don't know how Gutenberg stores the footnotes but it would be nice to be able to query them.
To reproduce, using a stock WP 6.6.0, create a post and insert a footnote. then query it using the following query
For illustration I've queried every single field on CoreFootnotes.
The data returned is
One would expect at least renderedHtml to return the actual content of the footnote, but no dice.
Could this be supported? Footnotes are surprisingly useful and I'm happy WP finally added it as a core feature.
The text was updated successfully, but these errors were encountered: