add new command syntax to examples

This commit is contained in:
Philipp Kühn
2018-10-28 22:57:05 +01:00
parent 340b1b2266
commit e66218bd95
11 changed files with 74 additions and 72 deletions

View File

@@ -17,7 +17,7 @@ export default {
})
}
},
}
},
},
render(createElement) {
if (this.editor) {
@@ -26,7 +26,8 @@ export default {
marks: this.editor.menuActions.marks,
focused: this.editor.view.focused,
focus: this.editor.focus,
commands: this.editor.commands,
}))
}
},
}
}

View File

@@ -17,7 +17,7 @@ export default {
})
}
},
}
},
},
render(createElement) {
if (this.editor) {
@@ -26,7 +26,8 @@ export default {
marks: this.editor.menuActions.marks,
focused: this.editor.view.focused,
focus: this.editor.focus,
commands: this.editor.commands,
}))
}
},
}
}