AEM Annotations cq-placeholder issue | Adobe Higher Education
Skip to main content
April 11, 2017

AEM Annotations cq-placeholder issue

  • April 11, 2017
  • 3 の返信
  • 2393 ビュー

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

このトピックへの返信は締め切られました。

3 の返信

Ratna_Kumar
Level 10
April 11, 2017

Hi,

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

~ Ratna.

October 30, 2017

Hi

  did you get any solution for this?

Thanks

Dipti

kautuk_sahni
Community Manager
Community Manager
October 30, 2017

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

Feike Visser  any help here ?

~kautuk

Kautuk Sahni