-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding source property in sling model of image component to get dam a…
…sset path in headless json (#1198) * [eds adding source property in sling model of image component to get the path in crx of the image.......] * [eds adding source property in sling model of image component to get the path in crx of the image.......] * [FORMS-13952] changed the dam repo path property to fd:repoPath * [FORMS-13952] changed the dam repo path property to fd:repoPath * fixed some test cases ........ * FORMS-13952 removed unused api of getSource... * [FORMS-13952] formatter change added in StaticImage...... --------- Co-authored-by: Deep Prakash Dewanji <deepprakashdewanji@labusers-mbp-5.macromedia.com> Co-authored-by: Deep Prakash Dewanji <deepprakashdewanji@labusers-mbp-9.corp.adobe.com>
- Loading branch information
1 parent
e9b4d42
commit e23a818
Showing
5 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
bundles/af-core/src/test/resources/form/image/exporter-image-parsedSrc.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"id": "image-7cfd7f1fe4", | ||
"fieldType": "image", | ||
"name": "abcd", | ||
"visible": false, | ||
"altText": "abc", | ||
"value": "/content/image-customized.img.png", | ||
"events": { | ||
"custom:setProperty": [ | ||
"$event.payload" | ||
] | ||
}, | ||
"properties": { | ||
"fd:path": "/content/image", | ||
"fd:repoPath": "/content/dam/formsanddocuments/abc.jpeg" | ||
}, | ||
":type": "core/fd/components/form/image/v1/image" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters