[wp-trac] [WordPress Trac] #21206: Replace Farbtastic color picker

WordPress Trac noreply at wordpress.org
Sat Nov 10 21:14:03 UTC 2012


#21206: Replace Farbtastic color picker
----------------------------------------------+---------------------
 Reporter:  lessbloat                         |       Owner:  nacin
     Type:  task (blessed)                    |      Status:  closed
 Priority:  normal                            |   Milestone:  3.5
Component:  UI                                |     Version:
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  has-patch needs-docs needs-codex  |
----------------------------------------------+---------------------

Comment (by mattwiebe):

 Replying to [comment:90 prionkor]:
 > Which colorpicker should i use if i want to add a colorpicker to theme.

 Enqueue the `wp-color-picker` script and style, and then run the
 `wpColorPicker` method on a text input like `jQuery('.my-text-
 input').wpColorPicker();`

 If you're working in the Customizer, just use the built-in color control,
 which now defaults to the new color picker.

 More docs will come, but that should get you started.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21206#comment:92>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list