[wp-trac] [WordPress Trac] #59572: Block Hooks: Allow passing block definitions

WordPress Trac noreply at wordpress.org
Wed Nov 15 07:49:38 UTC 2023


#59572: Block Hooks: Allow passing block definitions
-----------------------------+------------------------------
 Reporter:  Bernhard Reiter  |       Owner:  Bernhard Reiter
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Editor           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------
Changes (by gziolo):

 * component:  General => Editor


Comment:

 Alternatively, we could consider doing some prototyping with block
 variations to mirror how the block inserter works, so that would be more
 like `mycommerce/mini-cart/special-version` where `special-version` is the
 block variation name.

 Regardless, let's wait a little bit on this to get a sense of the use
 cases extenders have. Ideally, Block Hooks should be used with blocks that
 provide good defaults out of the box, similar to how you use the inserter.

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


More information about the wp-trac mailing list