Skip to content

Commit

Permalink
feat(v-editor): remove support for quill
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitano committed Oct 12, 2021
1 parent 7fac59b commit 78525f8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/components/VEditor/VEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import {ErrorMessage} from 'vee-validate';
import ClassicEditor from '@ckeditor/ckeditor5-build-classic';
import {component as ckeditor} from '@ckeditor/ckeditor5-vue';
import {QuillEditor} from '@vueup/vue-quill';
import '@vueup/vue-quill/dist/vue-quill.snow.css';
import VTextarea from '../VTextarea/VTextarea.vue';
const props = defineProps({
Expand Down Expand Up @@ -105,9 +102,6 @@ watch(content, (value) => {
:config="editorConfig"
/>
</template>
<template v-else-if="theme === 'quill'">
<QuillEditor v-model:content="content" theme="snow" />
</template>
<template v-else>
<v-textarea v-model="content" />
</template>
Expand All @@ -119,7 +113,7 @@ watch(content, (value) => {
</div>
</template>

<style>
<style scoped>
.ck-editor__editable,
.ql-editor {
min-height: 300px;
Expand Down

0 comments on commit 78525f8

Please sign in to comment.