mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-28 07:40:13 +08:00
style(vue2): fix eslint issue with dangling underscore
This commit is contained in:
parent
80de6cdf18
commit
413a923d57
@ -1,14 +1,16 @@
|
||||
import { Node as ProseMirrorNode } from 'prosemirror-model'
|
||||
import { Decoration, NodeView as ProseMirrorNodeView } from 'prosemirror-view'
|
||||
import Vue from 'vue'
|
||||
import { PropType, VueConstructor } from 'vue/types/umd'
|
||||
|
||||
import {
|
||||
NodeView,
|
||||
NodeViewProps,
|
||||
NodeViewRenderer,
|
||||
NodeViewRendererProps,
|
||||
NodeViewRendererOptions,
|
||||
NodeViewRendererProps,
|
||||
} from '@tiptap/core'
|
||||
import { Decoration, NodeView as ProseMirrorNodeView } from 'prosemirror-view'
|
||||
import { Node as ProseMirrorNode } from 'prosemirror-model'
|
||||
import Vue from 'vue'
|
||||
import { VueConstructor, PropType } from 'vue/types/umd'
|
||||
|
||||
import { Editor } from './Editor'
|
||||
import { VueRenderer } from './VueRenderer'
|
||||
|
||||
@ -84,7 +86,7 @@ class VueNodeView extends NodeView<(Vue | VueConstructor), Editor, VueNodeViewRe
|
||||
})
|
||||
|
||||
// @ts-ignore
|
||||
const vue = this.editor.contentComponent?.$options._base ?? Vue
|
||||
const vue = this.editor.contentComponent?.$options._base ?? Vue // eslint-disable-line
|
||||
|
||||
const Component = vue
|
||||
.extend(this.component)
|
||||
|
Loading…
Reference in New Issue
Block a user