24 Replies Latest reply on Sep 8, 2018 12:36 PM by swati.kad

    RTE in multifield is not working as expected

    trc41594544 Level 1

      Hi all,


      I am using AEM 6.2 SP1 CFP9. I am running in to issues with rich text editor in multi field. I copied richtext present at  /libs/cq/gui/components/authoring/dialog/richtext in to apps. I created a component with multi field using ACS AEM Commons multi field widget, i have rich text in mutifield.


      The problem is when i create link in RTE and save for the first time, link will be working. If i open the dialog and save RTE again even with out editing, It is removing href and saving the data.


      For example: if i have link as <a href="/content/geo/a.html" target="_self">Link 1</a> in the first save. If i open the dialog and save it again, it is transforming to

      <a target="_self">Link 1</a>"


      Any thoughts on this issue would be helpful.