From 88be94abf0f349e50b97270a190a69d9f1338593 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 c7fadf0b1..75ee63637 100644 --- a/src/commands/index.js +++ b/src/commands/index.js @@ -152,7 +152,7 @@ export default () => { 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,