AEM Annotations cq-placeholder issue | Community
Skip to main content
New Participant
Apr 11, 2017 4:28 PM UTC

AEM Annotations cq-placeholder issue

Hi

I'm trying to get the AEM annotations (https://docs.adobe.com/docs/en/aem/6-2/author/page-authoring/annotations.html) work in combination with the cq-placeholder always displayed over the current component. Sightly script looks like this:

<sly data-sly-test.emptyContent="${wcmmode.edit}"> <div data-emptytext="My Component" class="cq-placeholder"></div> </sly> <sly data-sly-test="${properties.text || properties.title}"> ${properties.title} ${properties.text @ context='html'} </sly>

This works fine in the authoring mode, but when an author wants to add an AEM annotation, he can't select the component. We want the placeholder to be overlaying the content, so that the author knows which component it is. Anyone ever faced / fixed this issue?

Cheers

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

kautuk_sahni
Employee
Oct 30, 2017 10:47 AM UTC

Duplicate Question:- cq:placeholder , issue with annotations.

Feike Visser  any help here ?

~kautuk

Translate
Kautuk Sahni
New Participant
Oct 30, 2017 10:42 AM UTC

Hi

  did you get any solution for this?

Thanks

Dipti

Translate
Ratna_Kumar
Level 10
Apr 11, 2017 5:15 PM UTC

Hi,

You mean to say, author is not able to edit the component at all when he put the placeholder?

~ Ratna.

Translate