Skip to content
Snippets Groups Projects
Commit 5df8a15d authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by David Siegfried
Browse files

remove obsolete Vue component TextareaWithToolbar, fixes #4820

Closes #4820

Merge request studip/studip!3606
parent c4ab9b75
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,6 @@ const BaseComponents = {
StudipSelect: () => import('./components/StudipSelect.vue'),
StudipTooltipIcon: () => import('./components/StudipTooltipIcon.vue'),
StudipWysiwyg: () => import("./components/StudipWysiwyg.vue"),
TextareaWithToolbar: () => import('./components/TextareaWithToolbar.vue'),
};
export default BaseComponents;
<template>
<textarea :name="name"
ref="textarea"
v-model="content"
></textarea>
</template>
<script>
export default {
name: 'textarea-with-toolbar',
props: {
value: String,
name: {
type: String,
required: false
}
},
computed: {
content: {
get() {
return this.value;
},
set(newContent) {
this.$emit('input', newContent);
}
}
}
}
</script>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment