Skip to content

InnerHtml is empty for UL blocks #19

Description

@briandavidjoyner

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." } ] } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions