style(vue2): fix eslint issue with dangling underscore
This commit is contained in:
@@ -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 {
|
import {
|
||||||
NodeView,
|
NodeView,
|
||||||
NodeViewProps,
|
NodeViewProps,
|
||||||
NodeViewRenderer,
|
NodeViewRenderer,
|
||||||
NodeViewRendererProps,
|
|
||||||
NodeViewRendererOptions,
|
NodeViewRendererOptions,
|
||||||
|
NodeViewRendererProps,
|
||||||
} from '@tiptap/core'
|
} 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 { Editor } from './Editor'
|
||||||
import { VueRenderer } from './VueRenderer'
|
import { VueRenderer } from './VueRenderer'
|
||||||
|
|
||||||
@@ -84,7 +86,7 @@ class VueNodeView extends NodeView<(Vue | VueConstructor), Editor, VueNodeViewRe
|
|||||||
})
|
})
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const vue = this.editor.contentComponent?.$options._base ?? Vue
|
const vue = this.editor.contentComponent?.$options._base ?? Vue // eslint-disable-line
|
||||||
|
|
||||||
const Component = vue
|
const Component = vue
|
||||||
.extend(this.component)
|
.extend(this.component)
|
||||||
|
|||||||
Reference in New Issue
Block a user