Add ModalText to get rid of console errors
This commit is contained in:
parent
bd136d79b3
commit
de14c02f0a
|
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import TextBlock from '@/components/content-blocks/TextBlock.vue';
|
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 Task from '@/components/content-blocks/Task.vue';
|
||||||
import ImageBlock from '@/components/content-blocks/ImageBlock.vue';
|
import ImageBlock from '@/components/content-blocks/ImageBlock.vue';
|
||||||
import StudentEntry from '@/components/content-blocks/StudentEntry.vue';
|
import StudentEntry from '@/components/content-blocks/StudentEntry.vue';
|
||||||
|
|
@ -19,9 +20,10 @@
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
'text_block': TextBlock,
|
'text_block': TextBlock,
|
||||||
Task,
|
'modal_text': ModalText,
|
||||||
|
'student_entry': StudentEntry,
|
||||||
'image_block': ImageBlock,
|
'image_block': ImageBlock,
|
||||||
'student_entry': StudentEntry
|
Task
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</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