Input Field block: theme.json spacing/margin settings not working on front end #56458
Labels
[Block] Form (experimental)
Affects the form block
[Type] Bug
An existing feature does not function as intended
Description
With the experimental form block, the following code in theme.json for Input Field only seems to be applied to the block editor, not the front end. In my theme, the x-large spacing = 100px, which was applied to clearly demonstrate how it looks in both places.
According to the block.json, it appears the styling should occur via
"style": [ "wp-block-form-input" ]
, but there are no wrapping divs for each input on the front end with the.wp-block-form-input
class.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Block editor view:
Front end view:
Environment info
WordPress 6.4.1, Gutenberg 17.1.0 active.
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
The text was updated successfully, but these errors were encountered: