<!-- eslint-disable vue/no-v-html -->
<template>
  <div class="write-preview">
    <div class="stem">
      <span class="question-number">{{ data.property.question_number }}.</span>
      <span v-html="sanitizeHTML(data.stem)"></span>
    </div>
    <div v-if="data.property.is_enable_description" class="description">{{ data.description }}</div>
  </div>
</template>

<script>
import PreviewMixin from './components/PreviewMixin';

export default {
  name: 'WritePreview',
  mixins: [PreviewMixin],
  data() {
    return {};
  },
  created() {},
  methods: {},
};
</script>

<style lang="scss" scoped>
@use '@/styles/mixin.scss' as *;

.write-preview {
  @include preview;
}
</style>
