AEM6.2 RTE Link plugin path starts with /content | Community
Skip to main content
Level 5
Nov 30, 2017 7:14 AM UTC
Solved

AEM6.2 RTE Link plugin path starts with /content

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
pradeepdubey82Accepted solution
Level 5
Dec 1, 2017 3:07 AM UTC

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

4 replies

Level 3
Mar 27, 2018 10:26 PM UTC

I have created an extension for this issue, you can see the details at

https://blogs.perficient.com/adobe/2018/03/27/non-aem-relative-links-in-rte-and-path-browser/

Translate
Level 3
Mar 6, 2018 5:16 PM UTC

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

Translate
kautuk_sahni
Employee
Dec 1, 2017 3:19 AM UTC

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

Translate
Kautuk Sahni
pradeepdubey82AuthorAccepted solution
Level 5
Dec 1, 2017 3:07 AM UTC

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

Translate