|
@@ -1,3 +1,4 @@
|
|
|
|
|
+<!-- eslint-disable vue/no-v-html -->
|
|
|
<template>
|
|
<template>
|
|
|
<div :class="['describe-preview']" :style="[getAreaStyle(), getComponentStyle()]">
|
|
<div :class="['describe-preview']" :style="[getAreaStyle(), getComponentStyle()]">
|
|
|
<SerialNumberPosition v-if="isEnable(data.property.sn_display_mode)" :property="data.property" />
|
|
<SerialNumberPosition v-if="isEnable(data.property.sn_display_mode)" :property="data.property" />
|
|
@@ -14,7 +15,12 @@
|
|
|
:font-family="data?.unified_attrib?.font"
|
|
:font-family="data?.unified_attrib?.font"
|
|
|
:is-preview="isPreview"
|
|
:is-preview="isPreview"
|
|
|
/>
|
|
/>
|
|
|
- <span v-else class="rich-text" @click="handleRichFillClick" v-html="sanitizeHTML(data.content)"></span>
|
|
|
|
|
|
|
+ <span
|
|
|
|
|
+ v-else
|
|
|
|
|
+ class="rich-text"
|
|
|
|
|
+ @click="handleRichFillClick"
|
|
|
|
|
+ v-html="convertText(sanitizeHTML(data.content))"
|
|
|
|
|
+ ></span>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div v-show="showLang" class="lang">
|
|
<div v-show="showLang" class="lang">
|