[wp-trac] [WordPress Trac] #50328: Enqueue script and style assets only for blocks present on the page
    WordPress Trac 
    noreply at wordpress.org
       
    Mon Dec 21 11:37:45 UTC 2020
    
    
  
#50328: Enqueue script and style assets only for blocks present on the page
--------------------------------------------+-----------------------------
 Reporter:  aduth                           |       Owner:  gziolo
     Type:  enhancement                     |      Status:  assigned
 Priority:  normal                          |   Milestone:  Future Release
Component:  Editor                          |     Version:
 Severity:  normal                          |  Resolution:
 Keywords:  early has-patch has-unit-tests  |     Focuses:  javascript
--------------------------------------------+-----------------------------
Comment (by gziolo):
 In [changeset:"49850" 49850]:
 {{{
 #!CommitTicketReference repository="" revision="49850"
 Blocks: Align with Gutenberg the name of generated asset handle for core
 blocks
 Related Gutenberg PR: https://github.com/WordPress/gutenberg/pull/25220.
 It aligns with the latest changes added by aristath to the Gutenberg
 project. As part of styles splitting for core blocks, there was a special
 pattern introduced for how style handles are named. Ideally, we would
 apply it to all blocks but there might be some backward compatibility
 considerations so I left the handling for non-core blocks unchanged.
 Props aristath.
 See #50328.
 }}}
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50328#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list