Hi rmahendraI am looking for a dialog with a fileupload (in coral 3) that we can drag and drop the image.The example you gave me does not have a coral 3 fileupload.
I already looked at the documentation, it does not show how to create a drag and drop fileupload. The fileupload changed dramatically from it's previous version. The documentation does not show an example on how to do this.I would like a working sample. Please provide a working example in xml.
Hi Eric,unsafe does work!! I can finally render the background images.Is this the best solution or is there a way to render the background image while having xss protection?
I can render the uri outside the template${properties.mobileImage}${properties.bannerImage}I can output both of these uriAlso, when I do the following they also render with the background image<!-- The div disappears when on larger screens --><div class="component-mobile-container" style="background...
It still does not work.I did exactly what you both told me to do<template data-sly-template.hero="${ @ container,bgImage,props }"> <div class="${container}" style="background-image: url('${bgImage @ context='styleToken'}');"> <text>props.title</text> </div></template><sly data-sly-c...
The example you shown is not relevant to my problem.The component I am working on has 2 different backgrounds (one is for mobile view, and one for normal view)The main difference between the normal view and mobile view is the outer div's class with a different background image. There are a lot more...