Skip to content

Experimental Block: Form - can't add custom CSS class #57328

@bradhogan

Description

@bradhogan

Description

Can't seem to get a custom class to appear for the experimental form block.

Step-by-step reproduction instructions

  1. Check Form and input blocks in Gutenberg > Experiments
  2. In a new page, add /form block
  3. In the block panel, add a custom CSS class in Additional CSS Class(es)
  4. Publish page
  5. View console and notice the CSS class is not there

Screenshots, screen recording, code snippet

Screenshot 2023-12-21 at 6 48 28 PM - Screenshot 2023-12-21 at 6 48 39 PM

Environment info

  • wp 6.4.2
  • gutenberg 17.3.0
  • chrome
  • mac sonoma

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions