diff --git a/packages/CodeEditor/Editor.vue b/packages/CodeEditor/Editor.vue index 463a4c8..8496f4a 100644 --- a/packages/CodeEditor/Editor.vue +++ b/packages/CodeEditor/Editor.vue @@ -255,7 +255,7 @@ export default { this.$emit('close'); const url = `${this.pathPrefix}popout-editor/${this.graphId}/${this.nodeId}/${this.templateType}/${this.language}`; const host = /^localhost:?/.test(window.location.host) ? (window.location.protocol - + '//' + window.location.host) : '/'; + + '//' + window.location.host) : ''; this.win = window.open(host + url, this.storeKey, `popup,width=${this.width},height=${this.width},top=${this.top},left=${this.left}`); for (let x = 500; x < 3000; x += 500) { diff --git a/packages/Rewind/main.ts b/packages/Rewind/main.ts index a153933..881e9fe 100644 --- a/packages/Rewind/main.ts +++ b/packages/Rewind/main.ts @@ -20,6 +20,6 @@ export default class GraphRewind extends EditorModule { divider: true, }); // this really isn't working well - // graphOrchestratorStore.addPlugin(rewindPluginIcon); + graphOrchestratorStore.addPlugin(rewindPluginIcon); } };