Add ModalText to get rid of console errors
This commit is contained in:
parent
bd136d79b3
commit
de14c02f0a
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<script>
|
||||
import TextBlock from '@/components/content-blocks/TextBlock.vue';
|
||||
import ModalText from '@/components/content-blocks/ModalText.vue';
|
||||
import Task from '@/components/content-blocks/Task.vue';
|
||||
import ImageBlock from '@/components/content-blocks/ImageBlock.vue';
|
||||
import StudentEntry from '@/components/content-blocks/StudentEntry.vue';
|
||||
|
|
@ -19,9 +20,10 @@
|
|||
|
||||
components: {
|
||||
'text_block': TextBlock,
|
||||
Task,
|
||||
'modal_text': ModalText,
|
||||
'student_entry': StudentEntry,
|
||||
'image_block': ImageBlock,
|
||||
'student_entry': StudentEntry
|
||||
Task
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
<template>
|
||||
<div>
|
||||
<div v-html="value.description"></div>
|
||||
<a :href="value.url">{{value.url}}</a>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ['value']
|
||||
}
|
||||
</script>
|
||||
Loading…
Reference in New Issue