[wp-trac] [WordPress Trac] #57868: "elements" styles for custom blocks in `theme.json` are ignored / not loaded

WordPress Trac noreply at wordpress.org
Tue Jul 18 00:01:04 UTC 2023


#57868: "elements" styles for custom blocks in `theme.json` are ignored / not
loaded
--------------------------------------+-----------------------
 Reporter:  flixos90                  |       Owner:  flixos90
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.3
Component:  Editor                    |     Version:  6.1
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------
Changes (by flixos90):

 * owner:  (none) => flixos90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56254" 56254]:
 {{{
 #!CommitTicketReference repository="" revision="56254"
 Editor: Fix bug where it was not possible to style custom block elements
 in `theme.json`.

 This changeset resolves a bug where WordPress would only allow HTML
 elements within core's own blocks to be styled in `theme.json`. Prior to
 this change, any `theme.json` rules applying to elements in custom blocks
 were ignored. With this fix it is now possible to style third-party block
 elements in `theme.json`.

 Props flixos90, azaozz, costdev, glendaviesnz, spacedmonkey, oandregal.
 Fixes #57868.
 }}}

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


More information about the wp-trac mailing list