From a7de0f07a5aadfd4685a53d607d81272b97681bd Mon Sep 17 00:00:00 2001 From: Marty Sweet Date: Tue, 23 Jul 2019 09:58:19 +0100 Subject: [PATCH] Change runCommand to reference the passed in ed --- src/commands/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/index.js b/src/commands/index.js index a01de0904..9db0828c9 100644 --- a/src/commands/index.js +++ b/src/commands/index.js @@ -148,7 +148,7 @@ module.exports = () => { if (includes(modes, mode)) { // TODO move grabbing func in editor/canvas from the Sorter - dragger = editor.runCommand('core:component-drag', { + dragger = ed.runCommand('core:component-drag', { guidesInfo: 1, mode, target: sel,