AEM 6.3 RTE plug-in issue | Community
Skip to main content
Level 2
May 16, 2018
Solved

AEM 6.3 RTE plug-in issue

  • May 16, 2018
  • 3 replies
  • 1711 views

RTE plug-in strips off the data attributes(eg:data-link) when we save the RTE dialog. Any additional configuration available to avoid this?

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 Kunwarsaluja

You'll have to adjust the xss config to avoid the antisamy configuration to strip off these attributes.

Once you click save, Check the error.log that would provide the message that would give you an idea that antisamy is at play.

To fix this: You can follow (1) on similar lines.

(1) : XSS Filter issue with the target attribute of the a tag

3 replies

smacdonald2008
Level 10
May 16, 2018

Show a screen shot as an example.

Level 2
May 16, 2018

data-link attribute is stripped off when we save the dialog.

KunwarsalujaAdobe EmployeeAccepted solution
Adobe Employee
May 16, 2018

You'll have to adjust the xss config to avoid the antisamy configuration to strip off these attributes.

Once you click save, Check the error.log that would provide the message that would give you an idea that antisamy is at play.

To fix this: You can follow (1) on similar lines.

(1) : XSS Filter issue with the target attribute of the a tag