[wp-trac] [WordPress Trac] #61395: Enqueue block custom CSS only when block renders on the page.

WordPress Trac noreply at wordpress.org
Wed Jul 10 06:17:59 UTC 2024


#61395: Enqueue block custom CSS only when block renders on the page.
---------------------------------------+----------------------------
 Reporter:  isabel_brison              |       Owner:  isabel_brison
     Type:  enhancement                |      Status:  closed
 Priority:  normal                     |   Milestone:  6.7
Component:  Editor                     |     Version:  trunk
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch  |     Focuses:  css
---------------------------------------+----------------------------
Changes (by isabel_brison):

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


Comment:

 In [changeset:"58703" 58703]:
 {{{
 #!CommitTicketReference repository="" revision="58703"
 Editor: enqueue block custom CSS only when block renders on the page.

 Updates the global styles custom CSS handling logic to be consistent with
 other global styles and take advantage of conditional enqueuing of block
 styles.

 Props isabel_brison, aaronrobertshaw, andrewserong.
 Fixes #61395.
 }}}

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


More information about the wp-trac mailing list