<template>
  <div class="txtcon" v-html="currentTag.textarea">
  </div>
</template>

<script setup>
import { reactive, defineEmits, onBeforeMount, onMounted, ref, watchEffect, computed, watch, nextTick } from "vue";
import { useStore } from "vuex";
const store = useStore();

const currentTag = computed(() => store.getters['tags/currentTag'])
  
</script>

<style lang="scss" scoped>
.txtcon{
  width: 100%;
  padding: 20px;
  max-height: calc(100vh - 80px);
  color: #fff;
  text-align: justify;
  overflow-y: scroll;
  padding-top: 70px;
  :deep(p) {
    line-height: 24px;
  }
}
</style>