I have a situation, where my Vue component renders html (it comes from database) this way:
<div
id="post-body-text"
class="post__main-text"
v-html="postText"
></div>
Now inside this HTML, there may be iframes which I would like to wrap in divs, with special styling (to make the iframe size dynamic)
What would be the Vue way to do this? Because the only option that I can find is document.createlement("div")
and then doing the native javascript stuff. Which doesn't work, I guess it is related to component rerendering