[wp-trac] [WordPress Trac] #21206: Replace Farbtastic color picker
WordPress Trac
noreply at wordpress.org
Thu Oct 18 09:39:58 UTC 2012
#21206: Replace Farbtastic color picker
-------------------------------------------------+------------------
Reporter: lessbloat | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.5
Component: UI | Version:
Severity: normal | Resolution:
Keywords: has-patch ux-feedback needs-testing |
-------------------------------------------------+------------------
Comment (by dgwyer):
Replying to [comment:70 mattwiebe]:
> Replying to [comment:65 dgwyer]:
> > The patch color-picker.js.patch (made against the latest WordPress
trunk) adds a new wpColorPicker get/set method to provide the current
default color in other scripts.
>
> Can you give a use case for needing that?
An example user case is for multiple color schemes/palettes, where you
need access to each color picker default value as well as the current
color value.
When the color scheme/palette changes (say via a dropdown) and 'Default'
is clicked the color picker value should revert to the current color
scheme default value (which has been updated).
Most themes these days include multiple color schemes and this core change
makes it easier to integrate them with the customizer.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21206#comment:71>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list