Repository navigation
Make custom spacing work with core - #28548
Conversation
|
Size Change: +18 B (0%) Total Size: 1.37 MB
ℹ️ View Unchanged
|
554e8db to
1ef4116
Compare
|
This doesn't seem to be working for me. I've checked out WordPress/wordpress-develop#951 and this branch and am using Twenty Twenty-One. I stepped through the debugger a little and it looks like |
|
It is not working for me either. |
1ef4116 to
b1df51e
Compare
|
I rebased this from the main branch and pushed a few changes. Retested with WordPress 5.6 and WordPress develop (the master branch with the core commit) and it's working as expected for me now. |
|
It is working for me now both in the editor and site editor, tested with different themes. I would like to highlight that this issue is not solved: Custom padding does not work without custom-unit theme support |
|
I took a look at that one and can reproduce using the main branch, so it's unrelated to this. It definitely needs to be investigated and fixed, but I'm not sure I can personally take a look at that today. Going to merge this PR so it makes it to 9.9 RC. |
WordPress 5.7 will come with support for
custom-spacing, so this PR makes the necessary changes in Gutenberg to work well with that. See WordPress/wordpress-develop#951In #25788 we marked custom spacing as stable but it looks like it missed the WordPress 5.6 cut (conversation).
Testing instructions
With WordPress 5.7:
With WordPress < 5.7: