Expand my Community achievements bar.

How to change default "Drag component here" Parsys text in AEM 6.4

Avatar

Level 2

Hi Team,

I have multiple parsys in my page which restricts the components that can be dragged on them. Customer need different text rather than "drag components here". I read some blogs and found that /libs/cq/gui/components/authoring/editors/clientlibs/core/js/model/Inspectable.js  has the text hard-coded. I wrapped the parsys with a div and placed a helper text as data-element and after the DOM load, i read the value and was able to replace the text. Unfortunately the JS is mid of foundation client library and I can't take this particular JS alone from the /libs and place it in apps. Can anyone guide a suitable way to change this text ?

Regards,

/S

0 Replies