I'm working with a standard wordpress instance and having some issues with the block's innerHtml. It works for everything except lists from what I can see. I am expected a list with 2 items.
query Post($id: ID = "") { post(idType: SLUG, id: $id) { blocks { tagName innerHtml attributes { name value } } } }
and the response:
{ "data": { "post": { "blocks": [ { "tagName": "ul", "innerHtml": "\n\n", "attributes": [] }, { "tagName": null, "innerHtml": "", "attributes": [] } ] } }, "extensions": { "debug": [ { "type": "DEBUG_LOGS_INACTIVE", "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled." } ] } }
I'm working with a standard wordpress instance and having some issues with the block's innerHtml. It works for everything except lists from what I can see. I am expected a list with 2 items.
query Post($id: ID = "") { post(idType: SLUG, id: $id) { blocks { tagName innerHtml attributes { name value } } } }and the response:
{ "data": { "post": { "blocks": [ { "tagName": "ul", "innerHtml": "\n\n", "attributes": [] }, { "tagName": null, "innerHtml": "", "attributes": [] } ] } }, "extensions": { "debug": [ { "type": "DEBUG_LOGS_INACTIVE", "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled." } ] } }