nothing works

This commit is contained in:
Philipp Kühn
2020-10-29 09:26:24 +01:00
parent e960fff74f
commit 516d0da41c
7 changed files with 151 additions and 3 deletions

View File

@@ -256,6 +256,7 @@ export class Editor extends EventEmitter {
* Creates a ProseMirror view.
*/
private createView() {
console.log('CREATE VIEW')
this.view = new EditorView(this.options.element, {
state: EditorState.create({
doc: this.createDocument(this.options.content),