[wp-trac] [WordPress Trac] #50263: Editor: Introduce new API method that register block from `block.json` metadata file

WordPress Trac noreply at wordpress.org
Mon Jun 22 11:22:11 UTC 2020


#50263: Editor: Introduce new API method that register block from `block.json`
metadata file
--------------------------------------+---------------------
 Reporter:  gziolo                    |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  5.5
Component:  Editor                    |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by gziolo):

 The patch added on GitHub includes changes added to Gutenberg in:
 - https://github.com/WordPress/gutenberg/pull/20794
 - https://github.com/WordPress/gutenberg/pull/22519

 `register_block_type_from_metadat` function is going to be used to
 register all blocks on the server when backporting the block editor
 changes in https://core.trac.wordpress.org/ticket/50420.

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


More information about the wp-trac mailing list