-
Notifications
You must be signed in to change notification settings - Fork 88
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
Allow alpha in different formats #50
Comments
That's right, since rgba support was more widespread than other formats. |
Thanks! Besides being able to choose the returned format, would it be possible to also allow any format when prepopulating the input field? When prepopulating the palette as well. |
Hi, Check this branch; https://github.com/kallookoo/wp-color-picker-alpha/tree/issue-50 It is not tested with the palettes and review the Readme to know what options you have because by default it returns an rgba, but there is an option to modify its behavior. |
That's exactly what I needed too. Thank you very much. Version 303+50 works great for me. |
@kallookoo Could we get this merged any time soon? Thank you! |
Added in version 3.0.4 |
Right now alpha values are only available in rgba format.
This is an issue when for example the field value is pre-populated with an 8-digit HEX value.
It also makes impossible to replace the wpColorPicker palette with 8-digit HEX values.
The text was updated successfully, but these errors were encountered: