AEM6.2 RTE Link plugin path starts with /content | Community
Skip to main content
New Participant
November 30, 2017
Solved

AEM6.2 RTE Link plugin path starts with /content

  • November 30, 2017
  • 4 replies
  • 4927 views

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.
Best answer by pradeepdubey82

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

New Participant
March 27, 2018

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/

New Participant
March 6, 2018

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

kautuk_sahni
Employee
December 1, 2017

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

Kautuk Sahni
pradeepdubey82AuthorAccepted solution
New Participant
December 1, 2017

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