add Commands interface
This commit is contained in:
@@ -34,6 +34,7 @@ export default class ExtensionManager {
|
||||
|
||||
const commands = extension.config.addCommands.bind(context)()
|
||||
|
||||
// @ts-ignore
|
||||
editor.registerCommands(commands)
|
||||
|
||||
if (typeof extension.config.onCreate === 'function') {
|
||||
|
||||
Reference in New Issue
Block a user