Conversation
|
Size Change: -6 B (0%) Total Size: 6.87 MB
ℹ️ View Unchanged
|
Mamaduka
left a comment
There was a problem hiding this comment.
A nice improvement. Love custom class removal and e2e test improvements 🙌
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Sorry for the late reply. I thought this change was safe, but it appears to be causing problems where it shouldn't be wrapping.
https://wordpress.github.io/gutenberg/?path=/docs/components-datetimepicker--docs At the very least, we might need to check Storybook to see if any visual issues have occurred in any components that depend on the button component. |
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
|
Thank you @t-hamano for catching this! I'll investigate more for other possible issues and see how we move forward. |
|
I wonder if |
If you want I can make this change. Alternative we could wait to see if there are any reports for this change. In general the DatePicker one was a 'masked' issue, so I think it's fine we made the changes there. |
From what I can gather, it does seem like So I think it would be good to change regardless of any issue reports? |
|
I tried replacing with It seems it has to do with the
Any suggestions? |
Maybe pair it with |


What?
Part of: #73707
Alternative of: #73711
From the main issue:
This currently affects only the buttons in Post Summary (editor) and we previously had some ad-hoc css rules per use case.
As suggested by @mirka here:
This PR does that and also removes some of these ad-hoc styles/classnames from the editor components that had them.
Testing Instructions
Notes
I'll open a follow up to handle the DataForms wrapping, since it doesn't use Buttons anymore.