Expand my Community achievements bar.

SOLVED

Anchor tag and id issue

Avatar

Level 4

Am seeing some issues with anchor tag in AEM rich text editor.

IN RTE if i use the the following:

<a href="test.com"> testing</a> -- Works well, href exists all the time.

second case:

<a href="test.com" id="test"> testing</a>

in source edit once you try to edit again, it becomes

<a  id="test"> testing</a> -- Doesn't work well, href is removed .

I have tried changing the  following file:

/apps/cq/xssprotection/config.xml

but nothing helped.

Has anyone seen this issue.

1 Accepted Solution

Avatar

Correct answer by
Administrator

You can use the link icon for hyperlinking.

Here the concept of the anchor tag is placeholder hyperlink. To jump to a location within a page.

Here is the helpx article with package to do testing:- Configuring Experience Manager Rich Text Editor Plugins in a Touch UI Component Dialog

~kautuk



Kautuk Sahni

View solution in original post

4 Replies

Avatar

Level 10

What version of AEM Are you using?

Avatar

Level 4

Sorry forgot to mention. We are using AEM 6.3

Avatar

Correct answer by
Administrator

You can use the link icon for hyperlinking.

Here the concept of the anchor tag is placeholder hyperlink. To jump to a location within a page.

Here is the helpx article with package to do testing:- Configuring Experience Manager Rich Text Editor Plugins in a Touch UI Component Dialog

~kautuk



Kautuk Sahni

Avatar

Level 4

kautuksahni​ We can try using that, but when users dump the whole html in the source edit, this issues is hard to resolve.