Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #59462, comment 4


Ignore:
Timestamp:
01/30/2024 08:59:42 AM (18 months ago)
Author:
luisherranz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59462, comment 4

    initial v1  
    11I haven't started exploring how to describe the assets required for an interactive block yet.
    22
    3 In my opinion, this is not a 1:1 relation (one block, one set of assets) like what we have now in `block.json`, but more of a 1:many relation where one block could have multiple _interactive behaviors_ on the frontend, and the user should be able to choose and configure them in the UI. Third-party plugins should also be able to add _new behaviors_ to existing blocks.
     3In my opinion, this is not a 1:1 relation (one block, one set of assets) like what we have now in `block.json`, but more of a 1:many relation where one block could have multiple ''interactive behaviors'' on the frontend, and the user should be able to choose and configure them in the UI. Third-party plugins should also be able to add ''new behaviors'' to existing blocks.
    44
    55Related to this, @westonruter has started exploring how to lazy load interactive blocks: