[wp-trac] [WordPress Trac] #56467: Update @wordpress packages and backport changes from Gutenberg plugin into Core

WordPress Trac noreply at wordpress.org
Thu Sep 8 16:43:17 UTC 2022


#56467: Update @wordpress packages and backport changes from Gutenberg plugin into
Core
--------------------------------------+------------------------------
 Reporter:  Bernhard Reiter           |       Owner:  Bernhard Reiter
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.1
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"54105" 54105]:
 {{{
 #!CommitTicketReference repository="" revision="54105"
 Global Styles: Add support for `heading`, `button`, and `caption`
 elements.

 This enables themes to:
 * Set style rules for all heading elements together rather than having to
 do it individually.
 * Style captions in `theme.json` by adding this into your `theme.json`
 file:
 {{{
 {
         "styles": {
                 "elements": {
                         "caption": {
                                 "color": {
                                         "background": "red",
                                         "text": "yellow"
                                 }
                         }
                 }
         }
 }
 }}}

 This commit backports the original PRs from Gutenberg repository:
 * [https://github.com/WordPress/gutenberg/pull/41981 #41981: Global
 Styles: Add support for heading elements]
 * [https://github.com/WordPress/gutenberg/pull/41140 #41140: Global
 Styles: Add support for caption elements]

 Follow-up to [50973].

 Props cbravobernal, scruffian, madhudollu, mikachan, zieladam, bph, poena,
 andraganescu, ndiego, bgardner.
 See #56467.
 }}}

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


More information about the wp-trac mailing list