comand-component-library 4.0.51 → 4.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -97,7 +97,7 @@
|
|
97
97
|
|
98
98
|
<!-- begin default-view -->
|
99
99
|
<!-- begin image with figure/figcaption -->
|
100
|
-
<figure v-else-if="figcaption?.show" :class="['cmd-image', textAlign]">
|
100
|
+
<figure v-else-if="useFigureTag || figcaption?.show" :class="['cmd-image', textAlign]">
|
101
101
|
<figcaption v-if="figcaption?.position === 'top'" v-html="figcaption?.text"/>
|
102
102
|
<img :src="imageSource" :alt="image?.alt" :title="image?.tooltip" @load="onImageLoaded"/>
|
103
103
|
<figcaption v-if="figcaption?.position !== 'top'" v-html="figcaption?.text"/>
|
@@ -167,6 +167,13 @@ export default {
|
|
167
167
|
type: Object,
|
168
168
|
required: false
|
169
169
|
},
|
170
|
+
/**
|
171
|
+
* activate if image should be wrapped by figure-tag
|
172
|
+
*/
|
173
|
+
useFigureTag: {
|
174
|
+
type: Boolean,
|
175
|
+
default: true
|
176
|
+
},
|
170
177
|
/**
|
171
178
|
* figcaption-object including visibility, position (top/bottom), text
|
172
179
|
*/
|