Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM Annotations cq-placeholder issue

Avatar

Avatar
Validate 1
Level 1
andrecrettaz
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
View profile

Avatar
Validate 1
Level 1
andrecrettaz
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
View profile
andrecrettaz
Level 1

11-04-2017

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

Replies

Avatar

Avatar
Validate 25
MVP
Ratna_Kumar
MVP

Likes

158 likes

Total Posts

755 posts

Correct Reply

134 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Validate 25
MVP
Ratna_Kumar
MVP

Likes

158 likes

Total Posts

755 posts

Correct Reply

134 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ratna_Kumar
MVP

11-04-2017

Hi,

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

~ Ratna.

Avatar

Avatar
Level 1
diptic23065224
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
diptic23065224
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
diptic23065224
Level 1

30-10-2017

Hi

  did you get any solution for this?

Thanks

Dipti

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,127 likes

Total Posts

6,130 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,127 likes

Total Posts

6,130 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

30-10-2017

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

Feike Visser  any help here ?

~kautuk