mirror of https://github.com/doccano/doccano.git
pythonannotation-tooldatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learning
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.
41 lines
670 B
41 lines
670 B
<template>
|
|
<base-card
|
|
@cancel="close"
|
|
title="Annotation Guideline"
|
|
cancel-text="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'
|
|
|
|
export default {
|
|
components: {
|
|
Viewer,
|
|
BaseCard
|
|
},
|
|
|
|
props: {
|
|
guidelineText: {
|
|
type: String,
|
|
default: '',
|
|
required: true
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
close() {
|
|
this.$emit('close')
|
|
}
|
|
}
|
|
}
|
|
</script>
|