-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Refactor spacer block to share edit method with the web. #20746
Conversation
Size Change: +455 B (0%) Total Size: 864 kB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on mobile and it worked well 👍
@Tug updated the code according to your suggestions. @ZebulanStanphill do you mind to give it another look? |
Tested on desktop; everything seems to be working fine there. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Description
Refactor the spacer block in order to have the same code for the edit method with web and mobile.
This involved refactoring the Block Controls on the web to use a standard component and implement a mobile version of the ResizableBox component.
How has this been tested?
This can be tested on this PR for GB-mobile: wordpress-mobile/gutenberg-mobile#1991
Screenshots
Types of changes
Checklist: