add precommit hook for linting and automatic eslint fixes + update eslint packages (#2862)
* chore: add precommit hook for eslint fixes, fix linting issues * chore: add eslint import sort plugin
This commit is contained in:
@@ -5,8 +5,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Editor, EditorContent } from '@tiptap/vue-3'
|
||||
import StarterKit from '@tiptap/starter-kit'
|
||||
import { Editor, EditorContent } from '@tiptap/vue-3'
|
||||
|
||||
import DragHandle from './DragHandle.js'
|
||||
|
||||
export default {
|
||||
@@ -37,6 +38,7 @@ export default {
|
||||
<pre>code</pre>
|
||||
`,
|
||||
onUpdate: () => {
|
||||
// eslint-disable-next-line
|
||||
console.log(this.editor.getHTML())
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user