Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Anchor tag in RTE not displayed properly

Avatar

Level 4

Hi All,

I am using touch UI RTE in my project. I have a requirement where i need anchor tag.

It is enabled properly and showing anchor icon as well in dialog mode. But when it is rendered, its adding "id" attribute to <a> tag rather than "href".

Following is the heirarchy getting generated from RTE:

<p>

some text<a id="click here"></a>

</p>

Because of this, the anchor tag is not getting rendered properly.

Please help.

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

2 Replies

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

Thanks Kautuk.

I was confused between link and anchor.

Its resolved now.