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