-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Update core components version * Added proxy for contentfragment and contentfragmentlist component
- Loading branch information
1 parent
969ace1
commit 2bfa73b
Showing
4 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
.../content/jcr_root/apps/__appsFolderName__/components/content/contentfragment/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?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" | ||
jcr:primaryType="cq:Component" | ||
jcr:title="Content Fragment" | ||
sling:resourceSuperType="core/wcm/components/contentfragment/v1/contentfragment" | ||
componentGroup="${componentGroupName}"/> |
29 changes: 29 additions & 0 deletions
29
...nt/jcr_root/apps/__appsFolderName__/components/content/contentfragment/_cq_editConfig.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | ||
jcr:primaryType="cq:EditConfig"> | ||
<cq:inplaceEditing | ||
jcr:primaryType="cq:InplaceEditingConfig" | ||
active="{Boolean}true" | ||
editorType="contentfragment"/> | ||
<cq:dropTargets jcr:primaryType="nt:unstructured"> | ||
<contentfragment | ||
jcr:primaryType="cq:DropTargetConfig" | ||
accept="[application/vnd.adobe.contentfragment]" | ||
groups="[media]" | ||
propertyName="./fragmentPath"> | ||
<parameters | ||
jcr:primaryType="nt:unstructured" | ||
variationName="" | ||
elementNames="" | ||
paragraphScope="" | ||
paragraphRange="" | ||
paragraphHeadings="" | ||
displayMode="multi"/> | ||
</contentfragment> | ||
</cq:dropTargets> | ||
<cq:listeners | ||
jcr:primaryType="cq:EditListenersConfig" | ||
afterinsert="function (properties) { $(document).trigger('cq-contentfragment-insert'); }" | ||
afteredit="function (properties) { $(document).trigger('cq-contentfragment-edit'); }" | ||
afterdelete="function (properties) { $(document).trigger('cq-contentfragment-delete'); }"/> | ||
</jcr:root> |
6 changes: 6 additions & 0 deletions
6
...tent/jcr_root/apps/__appsFolderName__/components/content/contentfragmentlist/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?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" | ||
jcr:primaryType="cq:Component" | ||
jcr:title="Content Fragment List" | ||
sling:resourceSuperType="core/wcm/components/contentfragmentlist/v1/contentfragmentlist" | ||
componentGroup="${componentGroupName}"/> |