[wp-trac] [WordPress Trac] #56736: Block Styles in theme.json do not appear in the Editor or Frontend

WordPress Trac noreply at wordpress.org
Wed Oct 5 11:13:58 UTC 2022


#56736: Block Styles in theme.json do not appear in the Editor or Frontend
-----------------------------+-----------------------------
 Reporter:  Bernhard Reiter  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Editor           |    Version:  trunk
 Severity:  major            |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Originally reported by @ndiego in
 https://github.com/WordPress/gutenberg/issues/44619.
 Simplified testing instructions based on
 [https://github.com/WordPress/gutenberg/issues/44619#issuecomment-1266866044
 this comment].

 == Description

 When Gutenberg is not active, block styles in theme.json are not getting
 rendered in the Editor or Frontend in WordPress 6.1 Beta 3. Activating
 Gutenberg solves this.

 == Step-by-step reproduction instructions

 To reproduce, insert some button blocks and view on the frontend.
 [https://github.com/WordPress/wordpress-
 develop/blob/c819764c81c8b14de9104f5488a88c949e715b25/src/wp-
 content/themes/twentytwentytwo/theme.json#L224-L237 They should be
 rectangular, with a dark green background] (rather than round and black).

 Actual (broken):

 https://user-images.githubusercontent.com/14988353/192704978-e43957d7-8868
 -490c-814d-83c6fe24fae1.png

 Expected (correct):

 https://user-images.githubusercontent.com/14988353/192704825-6cc455bc-dde5
 -45ba-b94d-b4e584e92e9e.png

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


More information about the wp-trac mailing list