In the Block editor, if you enter a negative value for the margin, it will be reset to 0. #41145
Labels
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
Description
If I enter a negative value in the Dimensions margin of a Group Block or Heading Block, it will be reset to 0.
Step-by-step reproduction instructions
We have tried other methods.
In the Code editor, if I enter a negative value directly in margin, it can be saved, but if I go back to the Visual editor and try to change the value, it is set to 0.
Screenshots, screen recording, code snippet
No response
Environment info
WordPress6.0 RC3
Twenty Twenty-Two 1.2
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: