-
Notifications
You must be signed in to change notification settings - Fork 15
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
Anchor tags are returning null for custom ACF blocks #268
Comments
In Within the $block array you can access
This seems to work. As I don't like to overwrite plugin code I have defined a new field,
|
Just noting this might be resolved in the future as per discussion in the PR #328 |
@brysonchiu I think you need to add this to your block.json
Then you should be able to extract the "anchor" attribute from the Block. Let us know if that worked. |
I origonally opened this ticket, wp-graphql/wpgraphql-acf#204, but Jason Bahl directed me to open one here instead.
Steps to reproduce
Anchors work for core blocks, but not for ACF blocks
The text was updated successfully, but these errors were encountered: