[wp-trac] [WordPress Trac] #63589: Unable to live preview changes to Additional CSS in the Customizer when using a Block Theme
WordPress Trac
noreply at wordpress.org
Wed Jul 30 04:22:54 UTC 2025
#63589: Unable to live preview changes to Additional CSS in the Customizer when
using a Block Theme
-------------------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: Customize | Version: 6.2
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+--------------------------
Changes (by westonruter):
* status: accepted => closed
* resolution: => fixed
Comment:
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/63589#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list