Skip to main content
Shubham_borole
Community Advisor
Community Advisor
Oct 16, 2015 2:29 AM UTC
Solved

placing image icon next to hyperlinked text

Hi,

I am trying to add functionality to rtf (or rte based components) such that, if a text is provided using hyperlink functionality, then, after that hyperlink an image icon corresponding to the link type should be placed after the hyperlinked text.

For example, if I provide a pdf link to some text in rtf by using the hyperlink functionality, a pdf image icon will be placed after it. Something like in the image below/attached.

Any suggestions on what kind of approaches can be followed to achieve this?

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:29 AM UTC

Explore creating a custom xtype. See this community artilce and the Hero component to learn how to work with custom xtypes. See https://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html.

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:29 AM UTC

Explore creating a custom xtype. See this community artilce and the Hero component to learn how to work with custom xtypes. See https://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html.

Translate