set core component property using sightly/sling model
Im constructing a custom component below is its layout.
Header section built using <h1>
Body section which uses out of the box embed component <div data-sly-resource="${'embed' @ resourceType='core/wcm/components/embed/v2/embed'}"></div>
Footer that is again some HTML code
Im using embed component in the HTML mode where, I want to populate it content from a content fragment (that holds all the data in JSON format).
So when user drags and drops the stitched custom component, he will just choose the content fragment from dialog and it sling model will read it and return data for all the fields that the component is displaying using HTL. Now how do I feed data html content into the out of the box embed component either using HTL or sling model.


