1
0

chore(editor): remove marked usages

This commit is contained in:
kolaente
2023-10-22 15:18:39 +02:00
parent 22223a56bd
commit 37af478811
5 changed files with 0 additions and 58 deletions

View File

@ -15,9 +15,7 @@
<script lang="ts" setup>
import {computed} from 'vue'
import {setupMarkdownRenderer} from '@/helpers/markdownRenderer'
import DOMPurify from 'dompurify'
import {createRandomID} from '@/helpers/randomId'
import {useProjectStore} from '@/stores/projects'
const props = defineProps({
@ -35,7 +33,6 @@ const htmlDescription = computed(() => {
return ''
}
setupMarkdownRenderer(createRandomID())
return DOMPurify.sanitize(description, {ADD_ATTR: ['target']})
})
</script>