[wp-trac] [WordPress Trac] #49863: Twenty Nineteen: Button block editor styles need a refresh

WordPress Trac noreply at wordpress.org
Tue Jul 14 11:13:44 UTC 2020


#49863: Twenty Nineteen: Button block editor styles need a refresh
---------------------------+---------------------
 Reporter:  kjellr         |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.5
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+---------------------

Comment (by sleekdevigner):

 @kjellr I am hoping I will be able to make my first contribution to this
 awesome community.

 I just downloaded the WordPress core version 5.5-beta using tortoise svn
 so I can test for this bug and submit a patch. However, something is quite
 strange. After doing the needful (npm install and others), with the Twenty
 Nineteen (2019) theme active and Gutenberg installed. I created a button
 using the Gutenberg block but noticed at the frontend that the button
 created still has the old markup you mentioned.

 {{{
 <!-- wp:button -->
 <div class="wp-block-button"><a class="wp-block-button__link">My
 button</a></div>
 <!-- /wp:button -->
 }}}

 Also, the styles in the editor are picked once I use the custom color
 picker. I am guessing I'm using a wrong **to-be-released** WordPress
 version compared to the one you mentioned in this ticket or probably this
 bug has been fixed already which explains why I am not catching it.

 Please I will be glad if you can help a little. I am still researching for
 answers though. Thank you.

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


More information about the wp-trac mailing list