Closed ab2d3e8 closed 5 years ago
You can using your own caption component.
Take a lookt at this: https://github.com/deulos/vue-flux/wiki/Templating#caption
I mean that contains div a property in which elements can be added
You can pass any string as caption, but vue will strip out all HTML tags to prevent injection.
This is the code of the current FluxCaption component:
<div v-if="caption" class="flux-caption">{{ caption }}</div>
To avoid the HTML stripping you will need to create you own caption component like this:
<div v-if="caption" v-html="caption" class="flux-caption"></div>
Thanks
Is it possible to have caption like button click or link URL.