Skip to content

Commit 0d6a426

Browse files
author
Sam Richard
committed
Fix EditorState
1 parent 1c9900a commit 0d6a426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/app/editor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class Editor {
5454
this._editor.dom.remove();
5555

5656
this._editor = new EditorView({
57-
state: EditorState.create({ extensions }),
57+
extensions,
5858
parent: this._parent,
5959
dispatch(tr) {
6060
this.update([tr]);

0 commit comments

Comments
 (0)