<template>
  <div>
    {{ element.style.format||'备注：' }}<span
      style="white-space: pre-wrap;"
      v-html="canvas.remark.replace(/\n/g,'<br>')">
    </span>
  </div>
</template>

<script>
export default {
  props: {
    defaultTemplate: {
      type: String,
      default: ''
    },
    element: {
      type: Object,
      default: () => {}
    },
    canvas: {
      type: Object,
      default: () => {}
    }
  },
  computed: {
    elStyle () {
      return this.element.style
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
