Skip to content

Commit

Permalink
Fix types for ProseMirror
Browse files Browse the repository at this point in the history
  • Loading branch information
salmenf committed Oct 15, 2023
1 parent 8eafd08 commit 7338fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @webwriter/core/view/editor/prosemirroreditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {DOMSerializer} from "prosemirror-model"

type IProsemirrorEditor =
& Omit<DirectEditorProps, "attributes" | "editable">
& Omit<EditorView, "update" | "dispatchEvent">
& Omit<EditorView, "update" | "dispatchEvent" | "updateRoot">
& {
pmAttributes: DirectEditorProps["attributes"]
shouldBeEditable: DirectEditorProps["editable"]
Expand Down

0 comments on commit 7338fd9

Please sign in to comment.