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

core/group block attribute doesn't support cssClassName. #327

Open
feroz39 opened this issue Dec 30, 2024 · 2 comments
Open

core/group block attribute doesn't support cssClassName. #327

feroz39 opened this issue Dec 30, 2024 · 2 comments
Assignees

Comments

@feroz39
Copy link

feroz39 commented Dec 30, 2024

Unlike other blocks, the core/group block attribute doesn't support cssClassName. Without this property, I can't properly style the markup.

... on CoreGroup {
  attributes {
    className
    cssClassName // I got error here
  }
}
... on CoreParagraph {
  attributes {
    className
    cssClassName
  }
}

The renderedHtml has the class but why the attributes don't? Please add this property to the CoreGroup.

@feroz39 feroz39 changed the title core/group block attr core/group block attribute doesn't support cssClassName. Dec 30, 2024
@colinmurphy colinmurphy self-assigned this Dec 31, 2024
@colinmurphy
Copy link
Contributor

Thanks @feroz39 for raising this issue.

I can replicate the issue and I will look into getting a fix for this issue.

@colinmurphy
Copy link
Contributor

@feroz39 I have created a PR #328 to fix the issue which will allow you to query cssClassName for the CoreGroup attributes node.

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

2 participants