Skip to main content
codingStar
New Participant
November 25, 2016

RTE Hyperlink is not working in Touch UI dialog

  • November 25, 2016
  • 13 replies
  • 5667 views

Hi,

I am using AEM6.2.

I have created Touch UI dialog. but after creating hyperlink inRTE  in touch UI dialog it did not save the hyperlink. please help me get it work. PFB the details

Dialog:

<errornode jcr:primaryType="nt:unstructured" sling:resourceType="/libs/cq/gui/components/authoring/dialog/richtext" fieldDescription="field description" fieldLabel="Enter error text" name="./errortext"/>

 

Step-1 : Adding Hyperlink 

Step-2 : before Saving 

Step-3 : after save, page are in ?wcmmode=disabled  

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

13 replies

VeenaVikraman
New Participant
March 26, 2018

Will try to replicate this issue in 6.2 and get back to you soon.

March 26, 2018

I also seem to be experiencing this issue as well with the Rich Text Editor, when trying to add a hyper link in and then clicking the tick (to save) then clicking the page tick (to save page changes), the hypertext link isn't saved...  any suggestions?

satishg50655205
New Participant
November 3, 2017

Just to add more clarity on the issue. When you toggle between view source and view html mode of source edit the href value (like ${emailTemp} is becoming blank. Same is the case when we translate this to a JSON response.

VeenaVikraman
New Participant
November 5, 2017

there could be chances that your href is getting trimmed because of XSS protection.

satishg50655205
New Participant
November 6, 2017

How do I resolve this issue. Any suggestions?

satishg50655205
New Participant
November 3, 2017

Hi All,

I am using a RTE in touch UI and using source EDIT feature. I have anchor tag in the source coude that is html. When I toggle between view source and view mode of source edit option,${dynamicEmail}".  When I convert to json using custom servlet, the href is becoming empty. Can you please help.

Best Regards,

SG.

kautuk_sahni
Employee
November 28, 2016

have you done some changes in RTE ?

Kautuk Sahni
codingStar
New Participant
November 30, 2016

No

kautuk_sahni
Employee
November 28, 2016

As stated by Scott, i have have also tested this on 6.2.

It is working perfectly fine.

Can you please check if there is some error coming up in the browser console and AEM error.log ?

~kautuk

Kautuk Sahni
smacdonald2008
New Participant
November 25, 2016

When you say Saving  - do you mean clicking the check mark on the Dialog? There is no explicit Save button.

Anyhow - i can add a  link using the RTE in a TOuch UI component: 

I closed the page and re-opened and the link is still there, Also in page source

smacdonald2008
New Participant
November 25, 2016

Try an ootb component that uses a RTE and see if that one works.