Closed nikolaysm closed 2 years ago
Instead we can use
<span class="f-section-text" v-html="question.content"></span>
Hi @nikolaysm,
we already had a similar request and decided against it, you can see our reasoning here:
https://github.com/ditdot-dev/vue-flow-form/pull/108#issuecomment-693553925
For now we don't plan on adding HTML support but we'll consider adding this in a future version.
Hi @spinn ,
Thanks for your reply!
How about slot
BeforeStart similar as: https://github.com/ditdot-dev/vue-flow-form/blob/02f307d00a6cf2e004f898a470977f22b79a1eab/src/components/FlowForm.vue#L24
Questions can be defined both via the questions
prop or as components so we'd need a solution that works in both cases. But as I said, we'll definitely take this into consideration and try to find a solution for a future release.
Hi 👋 ,
Thanks for creating and sharing this great project!
It will be useful to add a slot BeforeStart or allow for
QuestionType.SectionBreak
>content
to usehtml (v-html)
?