I am currently in the process of transitioning code from ASPX to VUE.JS.
In the previous system, there was a feature that allowed plain text to be injected into HTML (such as messages with text, images, links, and inputs). However, in VUE, the injected HTML is not functioning properly...
To illustrate the root issue, I have created a demo.
Essentially, we are attempting to inject HTML into a VUE component similar to regular HTML... but it also contains JavaScript code within the plain HTML.
Here is an overview of the problem: https://i.sstatic.net/Uiw2s.png
Any suggestions on how to navigate around this issue? The plain text may involve various JavaScript functions (potentially over 50 different scenarios).