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

In the Block editor, if you enter a negative value for the margin, it will be reset to 0. #41145

Closed
nendeb opened this issue May 19, 2022 · 1 comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@nendeb
Copy link

nendeb commented May 19, 2022

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

@glendaviesnz glendaviesnz added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label May 19, 2022
@glendaviesnz
Copy link
Contributor

Thanks for reporting this. I am going to close it as it is a duplicate of #32644

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
2 participants