gutenberg
gutenberg copied to clipboard
Add enableAlpha property to GradientPicker component.
What problem does this address?
We are able to disallow alpha on ColorPicker and ColorPalette components, but not on GradientPicker component.
What is your proposed solution?
Add enableAlpha property to GradientPicker. Alternatively, allow passing props, via GradientPicker, to the ColorPicker subcomponent.
I have made an attempt for a PR related to this here: https://github.com/WordPress/gutenberg/pull/66974