Expand my Community achievements bar.

SOLVED

AEM6.2 RTE Link plugin path starts with /content

Avatar

Level 6

Hi All,

In AEM 6.2 RTE, link plugin path always starts with /content. As soon as i type / it automatically suffixed with content.

My requirement is to remove that condition. I tried debug it, if i remove js-coral-pathbrowser-input class from text field then it is working fine.

There are lot of render.jsp where this class is being appended in textfield. Commented the line in those jsp files. Still it shows the class when inspected element in html.

Don't know how to remove that class(js-coral-pathbrowser-input) from being appended.

Please help me to remove that class from text field so that i can type anything i wish.

Thanks,

Pradeep

1 Accepted Solution

Avatar

Correct answer by
Level 6

I solved this by removing said class in js file located in

/etc/clientlibs/granite/coralui2/optional/rte/js/components/cui-rte.templates.js

Line no 105

Thanks,

Pradeep

View solution in original post

4 Replies

Avatar

Correct answer by
Level 6

I solved this by removing said class in js file located in

/etc/clientlibs/granite/coralui2/optional/rte/js/components/cui-rte.templates.js

Line no 105

Thanks,

Pradeep

Avatar

Administrator

Thanks a lot for sharing the solution with the community!!



Kautuk Sahni

Avatar

Level 4

Is this a feasible solution, we are modifying ootb js it is not even overlay