i have requirement to create a custom component where i need to change default text of parsys.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
If you want to change the defualt 'drop component here' text. Then you can set the jcr:title property e.g. jcr:title="Parsys Title" to extended parsys component and add below css rule to change the text. you can use cq.authoring.dialog category for clientlibs.
e.g.
div.cq-Overlay--container.cq-draggable.cq-droptarget[title="Parsys Title"] .cq-Overlay--placeholder::before {
content: 'custom comonnet drop text'
}
@karthick1356 Please check below Thread :
Hi,
If you want to change the defualt 'drop component here' text. Then you can set the jcr:title property e.g. jcr:title="Parsys Title" to extended parsys component and add below css rule to change the text. you can use cq.authoring.dialog category for clientlibs.
e.g.
div.cq-Overlay--container.cq-draggable.cq-droptarget[title="Parsys Title"] .cq-Overlay--placeholder::before {
content: 'custom comonnet drop text'
}
Hi, create a custom parsys component
{ "jcr:primaryType": "cq:Component", "jcr:title": "Parsys Title", "cq:isContainer": true, "sling:resourceSuperType": "wcm/foundation/components/parsys", "componentGroup": ".hidden" }
create clientlibs with category cq.authoring.dialog and add css rule which I mentioned.
Views
Likes
Replies