Forum Discussion
irach15
Maven
did you find how to check if a post has a hyperlink?
I've coded a custom component, got everything except of hyperlinks.
I see that in build-in components such as a specific board articles,
hyperlink icons are visible.
Any suggestions from Lithium experts?
VarunGrazitti
8 years agoBoss
irach15 - In case you don't find any direct API for this, you can simply find the link in the message post. Scan the post using contains and see if this has href tags in it. You will need to run multiple tests to make sure it is working correctly.
I hope this helps.
I hope this helps.
Related Content
- 5 years ago
- 8 years ago
- 4 years ago
- 13 years ago
- 7 years ago