AEM Author Image Target option | Community
Skip to main content
Luca_Lattarini
New Participant
July 17, 2020
Solved

AEM Author Image Target option

  • July 17, 2020
  • 3 replies
  • 1263 views

Hello everyone,

Is it possible to turn off Target option from image? Because from our anlaysys it is casuing the AEM to break

ThNKS

 

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

Hi @luca_lattarini , 

Yes it is possible.

Set the below property in  cq:editConfig node of component where you do not want target option to be enabled. In your scenario add it in image component. 

cq:disableTargeting="true"

This will disable the target option. 

3 replies

kautuk_sahni
Employee
July 17, 2020
Vaibhavi_J
Vaibhavi_JAccepted solution
New Participant
July 17, 2020

Hi @luca_lattarini , 

Yes it is possible.

Set the below property in  cq:editConfig node of component where you do not want target option to be enabled. In your scenario add it in image component. 

cq:disableTargeting="true"

This will disable the target option. 

Luca_Lattarini
New Participant
July 17, 2020

Hi @vaibhavi_j ,

I set up this cq:disableTargeting="true" every time my client builds a new component. Is there any way of setting this cq:disableTargeting="true" as default for each new element without my support to set up cq:disableTargeting="true" ?

Thanks

Luca_Lattarini
New Participant
July 17, 2020
Basically, if we click on Target mode on the imagine, we cannot go edit the image anymore,