Open godanny86 opened 6 years ago
@godanny86 Thanks for reporting the issue. Wee added it to our backlog (CQ-4256259)
Thanks @msagolj!
Since issue #298 is also marked as a bug maybe this should be too @vladbailescu ?
@godanny86 , I marked it as an enhancement since exposing the imagePath instead of the actual image model was a decision we took at that moment. We generally mark as bugs things that don't work as designed/expected. Anyway, I think you're right and we should improve this. We would very much appreciate a contribution for this, in case you want to have a stab at it.
@adobe export issue to Jira project SITES as Story
:white_check_mark: Jira issue SITES-3309 is successfully created for this GitHub issue.
Bug Report
Current Behavior If you want to use the Teaser component's JSON export in conjunction with the SPA editor (or another headless approach) the image src is not exported:
Expected behavior/code Ideally the same structure as the imageDelegate is exposed. Something like:
Environment