With the addition of the new Aside functionality in v2.5.0 (currently in beta) it would be nice to be able to have different styles and layouts for components that are included within an aside, instead of (for example) having the same heading style in the main article and the aside. We can enable this by adding support for subcomponents within components via Customize JSON, where we add a third dropdown (after theme and component) where the interface lets you decide whether you want to customize the component itself (e.g., Aside) or a subcomponent (e.g., a Heading inside of an Aside). If custom JSON is available for a subcomponent, it should be used instead of the primary JSON for the component if it is located within a parent component.
Use Case
When a user incorporates an aside into their Apple News article, they should be able to customize the appearance of components inside of the aside without writing PHP code.
Description
With the addition of the new Aside functionality in v2.5.0 (currently in beta) it would be nice to be able to have different styles and layouts for components that are included within an aside, instead of (for example) having the same heading style in the main article and the aside. We can enable this by adding support for subcomponents within components via Customize JSON, where we add a third dropdown (after theme and component) where the interface lets you decide whether you want to customize the component itself (e.g., Aside) or a subcomponent (e.g., a Heading inside of an Aside). If custom JSON is available for a subcomponent, it should be used instead of the primary JSON for the component if it is located within a parent component.
Use Case
When a user incorporates an aside into their Apple News article, they should be able to customize the appearance of components inside of the aside without writing PHP code.