Skip to content

Commit

Permalink
feat: ✨ release beta version
Browse files Browse the repository at this point in the history
  • Loading branch information
luthfimasruri committed Apr 15, 2021
1 parent 8be447a commit c3ad27f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-undef */
module.exports = {
env: {
browser: true,
Expand Down Expand Up @@ -31,6 +32,7 @@ module.exports = {
files: ['packages/*/src/**/*.ts'],
rules: {
quotes: ['error', 'single'],
'vue/require-default-prop': 'off',
},
},
{
Expand Down
4 changes: 2 additions & 2 deletions packages/vue-quill/src/components/QuillEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ import { toolbarOptions, ToolbarOptions } from './options'

export const QuillEditor = defineComponent({
name: 'QuillEditor',
inheritAttrs: false,
props: {
content: {
type: [String, Object] as PropType<string | Delta>,
default: {},
default: () => {},
},
contentType: {
type: String as PropType<'delta' | 'html' | 'text'>,
Expand Down Expand Up @@ -286,7 +287,6 @@ export const QuillEditor = defineComponent({
reinit,
}
},
inheritAttrs: false,
render() {
return [this.$slots.toolbar?.(), h('div', { ref: 'editor', ...this.$attrs })]
},
Expand Down

0 comments on commit c3ad27f

Please sign in to comment.