Skip to content

Commit 0f537cf

Browse files
committed
chore: Merge branch 'beta' of https://github.com/vueup/vue-quill into beta
2 parents 020038f + 8cd1f15 commit 0f537cf

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module.exports = {
66
},
77
extends: [
88
'eslint:recommended',
9+
'plugin:vue/base',
910
'plugin:vue/vue3-recommended',
1011
'plugin:@typescript-eslint/recommended',
1112
],
@@ -34,6 +35,7 @@ module.exports = {
3435
rules: {
3536
quotes: ['error', 'single'],
3637
'vue/require-default-prop': 'off',
38+
'@typescript-eslint/ban-ts-comment': 'off',
3739
},
3840
},
3941
{

demo/src/examples/WithForm.vue

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<template>
2+
<QuillEditor v-model:content="inputValue" content-type="html" theme="snow" />
3+
</template>
4+
5+
<script lang="ts">
6+
import { defineComponent, ref } from 'vue'
7+
import { QuillEditor } from '@vueup/vue-quill'
8+
9+
export default defineComponent({
10+
components: {
11+
QuillEditor,
12+
},
13+
setup() {
14+
const inputValue = ref('<h1>This is header</h1><p>This is paragraph</p>')
15+
return { inputValue }
16+
},
17+
})
18+
</script>

0 commit comments

Comments
 (0)