Skip to content

Commit

Permalink
Fix EditorState
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Richard committed Sep 23, 2022
1 parent 1c9900a commit 0d6a426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/app/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class Editor {
this._editor.dom.remove();

this._editor = new EditorView({
state: EditorState.create({ extensions }),
extensions,
parent: this._parent,
dispatch(tr) {
this.update([tr]);
Expand Down

0 comments on commit 0d6a426

Please sign in to comment.