mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
737 B
42 lines
737 B
<template>
|
|
<base-card
|
|
:title="$t('annotation.guidelinePopupTitle')"
|
|
:cancel-text="$t('generic.close')"
|
|
@cancel="close"
|
|
>
|
|
<template #content>
|
|
<viewer
|
|
:value="guidelineText"
|
|
/>
|
|
</template>
|
|
</base-card>
|
|
</template>
|
|
|
|
<script>
|
|
import 'tui-editor/dist/tui-editor-contents.css'
|
|
import 'highlight.js/styles/github.css'
|
|
import { Viewer } from '@toast-ui/vue-editor'
|
|
import BaseCard from '@/components/molecules/BaseCard'
|
|
import '@/assets/style/editor.css'
|
|
|
|
export default {
|
|
components: {
|
|
Viewer,
|
|
BaseCard
|
|
},
|
|
|
|
props: {
|
|
guidelineText: {
|
|
type: String,
|
|
default: '',
|
|
required: true
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
close() {
|
|
this.$emit('close')
|
|
}
|
|
}
|
|
}
|
|
</script>
|