How to render inline component inside html? #17311
Unanswered
ivanjaros
asked this question in
General - Components / Directives / etc
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is not exactly quasar-specific, more like vue-specific, but I would like to render component inside v-html content. The thing is that I can split the html where I need to and inject the component - if it is a block component. But inline components cannot work because the v-html will always be inside some element, mostly div, that just breaks the flow. I could do just string replace before rendering but then I would lose the component's functionality.
Is there a way to somehow achieve this?
For context, I am implementing custom markdown tags and I want to render them as components. I already have a gallery for multiple images, but that is a block component.
Beta Was this translation helpful? Give feedback.
All reactions