Jump to content

vamshi_26

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About vamshi_26

  • Rank
    Newbie
  1. I have a use case where my content editable div accepts only string inside it but it shows the html elements as they are supposed to be shown on website but as per the configurations mentioned in package. They have mentioned the attributes but not click events. Now, if I have string as `some text here <button onclick=someFunction()>button</button>`. Here someFunction is directly being called without triggering button because I think it is in string. How can I call `someFunction()` only when button is clicked.
×
×
  • Create New...