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

content attribute is not returned for the core/paragraph block #206

Open
sathyapulse opened this issue Jun 4, 2024 · 0 comments
Open

content attribute is not returned for the core/paragraph block #206

sathyapulse opened this issue Jun 4, 2024 · 0 comments

Comments

@sathyapulse
Copy link

The content attribute field is not being returned for the core/paragraph block.

The Gutenberg plugin 17.3 merged the PR #43204, which changed the type and source attribute values from string => rich-text and html => rich-text, respectively, for the core paragraph block. As a result, the wp-graphql-gutenberg plugin fails to identify/parse the content attribute from the paragraph block.

The content attribute type doesn't have a matching case for rich-text here, and it was identified as string earlier. Also, the content attribute source doesn't have a matching case for rich-text here, and it was identified as html earlier. The wp-graphql-gutenberg plugin should patch those to fix the issue.

As I mentioned, the change was made in the Gutenberg 17.3 release, which was shipped with the WordPress 6.5 release.

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