Skip to content

Commit

Permalink
feat(v-editor): change default editor to ckeditor
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitano committed Sep 28, 2021
1 parent 59c2471 commit 01af4ce
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/VEditor/VEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const props = defineProps({
},
theme: {
type: String,
default: 'quill',
default: 'ckeditor',
validator: (v: string) => ['quill', 'ckeditor', 'textarea'].includes(v),
},
});
Expand Down Expand Up @@ -113,14 +113,15 @@ watch(content, (value) => {
</template>
<ErrorMessage
v-if="errorMessages.length"
class="text-error text-sm"
class="text-error-600 mt-1 text-sm"
:name="name"
/>
</div>
</template>

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

0 comments on commit 01af4ce

Please sign in to comment.