Closed MuthuChess closed 2 months ago
Your question has to do with React. But you post an issue here on react-markdown. Try the same out, without react-markdown, and see the same happening.
Hi! This was closed. Team: If this was fixed, please add phase/solved
. Otherwise, please add one of the no/*
labels.
Initial checklist
Problem
I want to understand if it is allowed to attach an onClick event when mapping tag names to components. When the Markdown renders, the onclick attribute is not seen in the DOM.
Solution
Would like to know if there is a way to call onClick attribute
Alternatives
Would like to know if there is a way to have a method called on click of an 'a' tag