[wp-trac] [WordPress Trac] #57536: Add support for global styles custom css
WordPress Trac
noreply at wordpress.org
Wed Jul 30 04:22:54 UTC 2025
#57536: Add support for global styles custom css
-------------------------------------------------+-------------------------
Reporter: glendaviesnz | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.2
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch gutenberg-merge has-unit- | Focuses: rest-api,
tests commit | performance
-------------------------------------------------+-------------------------
Comment (by westonruter):
In [changeset:"60522" 60522]:
{{{
#!CommitTicketReference repository="" revision="60522"
Customize: Enable Customizer live previews of Custom CSS in Block Themes.
In a Block Theme, the Custom CSS from the Customizer is inserted into the
global styles, before the global style's Custom CSS. In order to update
the Customizer's Custom CSS inside of the global styles, milestone CSS
comments are added in the preview so that the live preview logic can do
the replacement.
Follow-up to [55192], [58703].
See #57536, #61395.
Props westonruter, wildworks, peterwilsoncc, rollybueno, SirLouen,
poojapadamad, rafiq91, audrasjb.
Fixes #63589.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57536#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list