I’ve done this a bunch of times, if you want it to work like you expect it (being able to pass props etc.) you’ll need to dive into the basics of plugin building. Do you have a little experience coding in javascript?
Yes I have some experience.
Actually i marked the html as an iframe and then it worked well, but I think it will be better to implement it as a plugin.