<template>
  <div class="n-editor-preview ql-editor">
    <div v-html="value"></div>
  </div>
</template>

<script>
import {loadQuillStyle} from '../editor/options'
import {prop} from '@uif/next/lib/utils/tools'

export default {
  name: 'n-editor-preview',
  props: {
    // 富文本数据
    value: prop.string()
  },
  created () {
    loadQuillStyle()
  }
}
</script>
