Custom link template
szuperaz opened this issue ยท 1 comments
Provide the opportunity for integrators to create their own markup for links.
Current solution: define a new method on the MessageService
called customLinkRenderer
that expects a string (the URL) and returns a string (the markup for the link)
This isn't the perfect solution since it's not as flexible as providing a custom Angular template with data binding (like we have for mention template). However, the perfect solution requires significantly more work (we have to change message parsing in the message component), so for now we will go with that.
In the future, if customers want to add event handlers/data binding/more elaborate templates to their links, we can implement the perfect solution and deprecate this solution.
๐ This issue has been resolved in version 4.61.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐