[wp-trac] [WordPress Trac] #50249: color-picker dashicon not showing

WordPress Trac noreply at wordpress.org
Mon May 25 23:05:26 UTC 2020


#50249: color-picker dashicon not showing
----------------------------+-------------------------------
 Reporter:  Lwangaman       |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  5.4.1
 Severity:  normal          |   Keywords:  reporter-feedback
  Focuses:  ui              |
----------------------------+-------------------------------
 When creating a PanelBody in the InspectorControls for Gutenberg block,
 and using 'color-picker' from Dashicons, no icon is rendered. Other
 dashicons are working, but 'color-picker' is not.

 Sample code:
 {{{#!javascript
 createElement(PanelBody, { title: __('Border color','textdomain'),
 initialOpen: false, icon: 'color-picker' },
         createElement(ColorPicker, {
                 color: attributes.PARAGRAPHSTYLES_BORDERCOLOR,
                 disableAlpha: false,
                 onChangeComplete: changeParagraphStyleBorderColor
         })
 )

 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50249>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list