Core Container component not working on Author mode when extended for Background color and image in AEM React SPA project
Hi Everyone !
I'm working on AEM SPA approach with react 18 version in that we have a use case to provide background color , background image , id ,attribute etc to the author and pass these values as a json for the react component.
As per the core container functionality , except the above mentioned properties remaining values are passing in the json generated such as the component authored inside the container its respective values etc. And moreover even if are enabling background image and other properties from the component policy level the values are only being stored in node level not coming in json.
So extended the core container model and added the above properties , but after execution of the model I was able to pass those values in json from the nodes generated and all the responses as expected is coming. The major issue happened is with the author side that components authored in the container are not being visible in the author mode , but i can see the inner components response in json.
Mentioning the extended code below
Impl Method
return layoutContainer;
}
Am I missing anything above for the mentioned issue as only the components visibility authored in the container is getting missed out after this code execution.Could someone please help on this ?