[wp-trac] [WordPress Trac] #47620: REST API: Expose blocks registered on the server

WordPress Trac noreply at wordpress.org
Fri Nov 15 13:38:27 UTC 2019


#47620: REST API: Expose blocks registered on the server
-------------------------------------------------+-------------------------
 Reporter:  gziolo                               |       Owner:
                                                 |  spacedmonkey
     Type:  feature request                      |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  REST API                             |     Version:  5.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:  rest-api
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by gziolo):

 @spacedmonkey, this path to the script or the style isn't very useful on
 its own, see the full description:

 https://github.com/WordPress/gutenberg/blob/master/docs/rfc/block-
 registration.md#WPDefinedAsset

 in addition @youknowriad opened this ticket which perfectly fits to your
 question:

 https://core.trac.wordpress.org/ticket/48654

 This asset handling is the most complex part of the block definition but
 we need it to be able to (lazy) load blocks on demand in the client.

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


More information about the wp-trac mailing list