ci: fix code style linting errors

This commit is contained in:
philippkuehn
2021-12-03 09:36:51 +00:00
committed by GitHub Actions
parent de39853026
commit b4ab7f079b
2 changed files with 24 additions and 22 deletions

View File

@@ -263,6 +263,7 @@ export class Editor extends EventEmitter<EditorEvents> {
private createView(): void {
const doc = createDocument(this.options.content, this.schema, this.options.parseOptions)
const selection = resolveFocusPosition(doc, this.options.autofocus)
this.view = new EditorView(this.options.element, {
...this.options.editorProps,
dispatchTransaction: this.dispatchTransaction.bind(this),