Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #45407, comment 23


Ignore:
Timestamp:
01/08/2019 09:14:36 AM (6 years ago)
Author:
youknowriad
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45407, comment 23

    initial v1  
    1111So coming up with the API that answers all these use-cases is not an easy task. A suggestion could be that each `InnerBlocks` area has a config prop that could look like this:
    1212
     13
     14{{{
    1315{
    1416   alignments: {
     
    1921   }
    2022}
     23}}}
     24
    2125
    2226Now the question remains, how does a theme provides this config to the global canvas for a post type (which may not make sense anymore in phase2, or make less sense), and how does a theme extends this prop for a given block.