[wp-trac] [WordPress Trac] #51179: dashicons-money-alt not working

WordPress Trac noreply at wordpress.org
Tue Sep 1 14:05:24 UTC 2020


#51179: dashicons-money-alt not working
----------------------------+--------------------------------------
 Reporter:  solutionsketan  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  General         |     Version:  5.3.2
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  ui, css, administration
----------------------------+--------------------------------------
Changes (by CatchThePigeon):

 * status:  closed => reopened
 * resolution:  worksforme =>


Comment:

 {{{
 registerBlockType( 'test/money', {
         title: __( 'Money', 'test' ),
         description: __(
                 'Money App',
                 'test'
         ),
         category: 'layout',
         icon: 'money-alt',
         supports: {
                 // Removes support for an HTML mode.
                 html: false,
         },

         /**
          * @see ./edit.js
          */
         edit: Edit,

         /**
          * @see ./save.js
          */
         save,
 } );
 }}}

 Think there may be more to this....?

 The above code returns a blank space in the gutenburg block selector.
 'money' returns the correct dashicon.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51179#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list