Highlighted

Is this a defect on RTE

jerryru

07-11-2017

I found that the hybperlink will be rewritten by a link which will contains server domain name(i.e. http://localhost:4502). I debug js and found it will be fixed if I made the following changes:

  • Open crx/de
  • Open the js file /libs/clientlibs/granite/richtext/core/js/commands/Link.js
  • Replace the line 68-69 with
    1. attributes.href = helperSpan.childNodes[0].pathname;
    2.         attributes[CUI.rte.Common.HREF_ATTRIB] = helperSpan.childNodes[0].pathname;

Replies

Highlighted

smacdonald2008

07-11-2017

This looks like a bug. I recommend opening a ticket and discuss with Support to see if a change to the Software needs to be made.