May 10, 2020
Estimated Post Reading Time ~

Adobe AEM - Sightly drop targets

Drop targets
http://stackoverflow.com/questions/25143752/sightly-and-cqdroptargets

Drop target is configured using node cq:dropTargets node under the cq:editConfig and it doesn’t depend on the used markup language.

The only thing that markup has to produce is a <div> tag with class cq-dd-CONFIGNAME which will be used as a drop zone. Sightly can easily generate such markup (below example will show it only in the edit mode):

<div data-sly-test="${wcmmode.edit}" class="cq-dd-images">Drop image here</div> 


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.