-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add support for hexadecimal colors in gradient presets #23363
Conversation
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.
cc @jorgefilipecosta as the author of #22239. |
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.
Hmm, interesting — I hadn't seen that. @youknowriad can you provide a gut check on that too (or do you know who else might able to since Jorge is away at the moment)? |
I think this is probably just half of the story :) While now they don't break which is cool, editing them is not possible. As soon as you touch the custom picker, it resets the gradient. Not sure yet what's missing there though. |
😄 Ok. Do you think this is ok to merge in the meantime then? And we can file another issue for the custom picker? |
Yes, but let's file an issue to track this :) |
I have done some more testing, and it looks like there are a few issues here
I'm doing some more testing to see if i can find more edge cases, and I'll file individual bugs for these. |
Thank you, @properlypurple! I'll merge this in the meantime. Thanks for the PR and for all the investigation! |
Congratulations on your first merged pull request, @properlypurple! We'd like to credit you for your contribution in the post announcing the next WordPress release, but we can't find a WordPress.org profile associated with your GitHub account. When you have a moment, visit the following URL and click "link your GitHub account" under "GitHub Username" to link your accounts: https://profiles.wordpress.org/me/profile/edit/ And if you don't have a WordPress.org account, you can create one on this page: https://login.wordpress.org/register Kudos! |
Hi @kjellr, I guess I can try to work on this issue if it still happens. Was an issue created so I can reference it and check the status of the task or we did not create and in that case I guess I can directly open a PR? |
Hi @jorgefilipecosta! Yes, @properlypurple created followup issues in #23501 and #23503. |
Description
This PR makes sure that the custom gradient picker is able to parse colors in the hexadecimal format.
How has this been tested?
This fixes the bug #23361
Types of changes
Bug fix
Checklist: