WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.46k stars 4.18k forks source link

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

Open bradhogan opened 10 months ago

bradhogan commented 10 months ago

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

Environment info

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

t-hamano commented 10 months ago

Thanks for the report. This issue will be resolved once #55755 is merged.