Skip to content

Instantly share code, notes, and snippets.

@kand
Last active August 29, 2015 13:57
Show Gist options
  • Save kand/9494500 to your computer and use it in GitHub Desktop.
Save kand/9494500 to your computer and use it in GitHub Desktop.
In some cases, a component does not need to have a target button in its edit bar. To deactivate the Target button for a component, the cq:disableTargeting property must be set.
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
jcr:primaryType="cq:EditConfig"
cq:disableTargeting="true">
<!-- rest of config goes here -->
</jcr:root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment