Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to set custom attributes for links resolved via IContentLinkUrlResolver implementations #243

Open
Enngage opened this issue Nov 11, 2020 · 0 comments
Labels
enhancement rich-text Features and bugs related to rich-text resolution.
Milestone

Comments

@Enngage
Copy link
Member

Enngage commented Nov 11, 2020

Currently, the IContentLinkUrlResolver is able to resolve only href attribute for links within rich text element. It would be nice if we could set other attributes such as: target, class, id etc.. Ideally a dynamic set should be supported so that devs can adjust link html as needed.

Other option is to let developers return custom HTML of the entire link. Maybe a new resolver could be used for this purpose such as IContentLinkHtmlResolver

@petrsvihlik petrsvihlik added this to the vNext milestone Nov 16, 2020
@petrsvihlik petrsvihlik added the rich-text Features and bugs related to rich-text resolution. label Jan 20, 2021
@petrsvihlik petrsvihlik modified the milestones: v15, v16 - rich-text Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement rich-text Features and bugs related to rich-text resolution.
Projects
None yet
Development

No branches or pull requests

2 participants