Expand my Community achievements bar.

SOLVED

AEM 6.3 RTE plug-in issue

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Employee

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

View solution in original post

3 Replies

Avatar

Level 10

Show a screen shot as an example.

Avatar

Level 3

Capture.PNG

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

Avatar

Correct answer by
Employee

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