AEM6.5 issue with annotations.

Avatar

Avatar
Validate 10
Level 2
tushaar_srivastava
Level 2

Likes

8 likes

Total Posts

95 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 10
Level 2
tushaar_srivastava
Level 2

Likes

8 likes

Total Posts

95 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 3
Ignite 1
Give Back 5
View profile
tushaar_srivastava
Level 2

12-10-2020

Hi Team,

it is continuation of https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/annotations-when-editing-a...


I am not able to add annotation.
I got to know that there is some issue with AEM Annotations with cq-placeholder.

 

So if I remove  class="cq-placeholder" then I am able to add annotation, but if I remove  class="cq-placeholder"  will not able to see placeholder in author edit mode.

How to get the placeholder in edit mode without class="cq-placeholder".

 

<c:choose>
<c:when test="${authoringMode eq 'TOUCH'}">
<div data-emptytext="${placeholdername}" class="cq-placeholder"></div>
</c:when>
<c:otherwise>
<img src="/libs/cq/ui/resources/0.gif" class="cq-carousel-placeholder" alt="${placeholdername}"
title="${placeholdername}" height="74" width="74"/>
</c:otherwise>
</c:choose>

 

Reference Links : 

  1. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/cq-placeholder-issue-with-...
  2. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-annotations-cq-placeho...
  3. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/annotation-not-working-on-...

 

 

 

@kautuk_sahni  @Veena_Vikram  @Arun_Patidar  @Vijayalakshmi_S  @vanegi 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,318 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,318 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

14-10-2020

The annotation are not visible for the empty(placeholder) component because of below rules in css

http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/sites/page.min.css

.cq-Overlay.cq-Overlay--annotate.cq-Overlay--placeholder{
display:none;
}

 

Just add below rule in your custom cq.authoring.dialog css to see annotation for placeholder

.cq-Overlay.cq-Overlay--annotate.cq-Overlay--placeholder{
display:block;
}

 

 

Answers (0)