Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a NodeWithBlockEditor InterfaceType #48

Open
drewbaker opened this issue Feb 16, 2023 · 0 comments
Open

Add a NodeWithBlockEditor InterfaceType #48

drewbaker opened this issue Feb 16, 2023 · 0 comments

Comments

@drewbaker
Copy link
Member

I want to be able to do this:

        ... on NodeWithBlockEditor {
            blocks {
                name
                # etc...
            }
        }

There is a similar thing with NodeWithContentEditor already in core.

This is how another plugin is doing it:
https://github.com/wpengine/wp-graphql-content-blocks/blob/main/includes/Type/InterfaceType/ContentBlockInterface.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant