Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM6.2 RTE Link plugin path starts with /content

pradeepdubey82
Level 4
Level 4

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
pradeepdubey82
Correct answer by
Level 4
Level 4

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

0 Replies
pradeepdubey82
Correct answer by
Level 4
Level 4

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

kautuk_sahni
Employee
Employee

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

shajiahmed
Level 3
Level 3

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