style: fix linting issues

This commit is contained in:
Dominik Biedebach
2022-06-06 18:19:59 +02:00
parent 4ce5850ba5
commit fd593bb93e
3 changed files with 18 additions and 19 deletions

View File

@@ -62,9 +62,7 @@ export const Link = Mark.create<LinkOptions>({
keepOnSplit: false,
onCreate() {
for (const protocol of this.options.protocols) {
registerCustomProtocol(protocol)
}
this.options.protocols.forEach(registerCustomProtocol)
},
inclusive() {

View File

@@ -21,7 +21,7 @@ export class VueRenderer {
// prevents `Avoid mutating a prop directly` error message
// Fix: `VueNodeViewRenderer` change vue Constructor `config.silent` not working
const currentVueConstructor = this.ref.$props.editor.contentComponent?.$options._base ?? Vue;
const currentVueConstructor = this.ref.$props.editor.contentComponent?.$options._base ?? Vue // eslint-disable-line
const originalSilent = currentVueConstructor.config.silent
currentVueConstructor.config.silent = true