-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Forms-3342 editElementQuery changes as span (#883)
* FORMS-3342 : editElementQuery changes as span * FORMS-3342 : added the test cases * FORMS-3342 : test case editted * FORMS-3342 : changes due to review commits * FORMS-3342 : changes due to
- Loading branch information
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
...rc/main/content/jcr_root/apps/core/fd/components/form/button/v1/button/_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,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:granite="http://www.adobe.com/jcr/granite/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | ||
jcr:primaryType="cq:EditConfig" | ||
cq:actions="[edit,-,copymove,delete,-,insert,-]" | ||
cq:dialogMode="floating" | ||
cq:layout="editbar" | ||
cq:disableTargeting="{Boolean}true"> | ||
<cq:actionConfigs jcr:primaryType="nt:unstructured"> | ||
<editexpression | ||
jcr:primaryType="nt:unstructured" | ||
handler="CQ.FormsCoreComponents.editorhooks.openRuleEditor" | ||
order="after CONFIGURE" | ||
icon="bidRule" | ||
text="Edit Rules"/> | ||
<replace | ||
jcr:primaryType="nt:unstructured" | ||
condition="CQ.FormsCoreComponents.editorhooks.isReplaceable" | ||
handler="CQ.FormsCoreComponents.editorhooks.replace" | ||
icon="shuffle" | ||
text="Replace"/> | ||
</cq:actionConfigs> | ||
<cq:inplaceEditing | ||
jcr:primaryType="cq:InplaceEditingConfig" | ||
active="{Boolean}true" | ||
configPath="inplaceEditingConfig" | ||
editorType="plaintext"> | ||
<inplaceEditingConfig | ||
jcr:primaryType="nt:unstructured" | ||
editElementQuery="span:first" | ||
textPropertyName="jcr:title"/> | ||
</cq:inplaceEditing> | ||
</jcr:root> |
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