style: fix linting issues
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user