add new command syntax to examples
This commit is contained in:
@@ -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,
|
||||
}))
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
}))
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user