This PR aims to add support for styling and layout customization of subcomponents within components, specifically targeting the Aside functionality introduced in v2.5.0. It allows for different styles and layouts for components included within an Aside through Customize JSON. This enables more granular customization without the need to write PHP code for each component's appearance within the Aside. Fixes #1126
Changes
Implement support for subcomponent customization within components via Customize JSON.
Ensure that if custom JSON is available for a subcomponent and it is located within a parent component, the subcomponent's custom JSON is used.
Use Case
This change allows users to customize the appearance of components inside of an Aside in their Apple News articles, providing a better content creation experience.
Testing
[x] Add tests to verify that subcomponents within an Aside can have different styles and layouts as defined in their custom JSON.
[x] Ensure backward compatibility with components that do not have subcomponents defined.
Documentation
[ ] Update documentation to include information on how to customize subcomponents within components using the new Customize JSON functionality.
Summary
This PR aims to add support for styling and layout customization of subcomponents within components, specifically targeting the Aside functionality introduced in v2.5.0. It allows for different styles and layouts for components included within an Aside through Customize JSON. This enables more granular customization without the need to write PHP code for each component's appearance within the Aside. Fixes #1126
Changes
Use Case
This change allows users to customize the appearance of components inside of an Aside in their Apple News articles, providing a better content creation experience.
Testing
Documentation