To disable "target" option when edit the component you need to add property
cq:disableTargeting="true" to cq:editConfig Node
cq:actions="[text:Button,-,edit,delete]"
cq:dialogMode="floating"
cq:disableTargeting="true"
jcr:primaryType="cq:EditConfig"
cq:disableTargeting="true" to cq:editConfig Node
cq:actions="[text:Button,-,edit,delete]"
cq:dialogMode="floating"
cq:disableTargeting="true"
jcr:primaryType="cq:EditConfig"
Thank you so much for this post -- I hated seeing TARGET on every parsys.
ReplyDeleteIn Editbase.js we can add config.disableTarget=true in addTargetingActions function to make target button hide globally. I want to know in which file config.disableTarget is assigned to "false".
ReplyDelete