diff --git a/packages/core/Editor.ts b/packages/core/Editor.ts index dece38d2..20a80e7a 100644 --- a/packages/core/Editor.ts +++ b/packages/core/Editor.ts @@ -62,6 +62,7 @@ class Editor extends EventEmitter { this._bindingHotkeys(pluginRunTime); this._bindingApis(pluginRunTime); } + return this; } destory() { diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 2f0f6323..80d55c7b 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,8 +1,8 @@