<template>
  <!-- eslint-disable vue/no-v-html  -->
  <div class="snt-text-editor">
    <div
      class="snt-text-editor__container"
      v-html="html"></div>
  </div>
</template>

<script>
export default {
  name: 'SntTextEditor',
  props: {
    html: {
      type: String,
      default: ''
    }
  }
}
</script>

<style scoped>
  .snt-text-editor {
    position: relative;
    overflow: hidden;
  }
  .snt-text-editor__container {
    padding: 0.75em;
  }
</style>
