Browse Source
Change runCommand to reference the passed in ed
pull/2161/head
Marty Sweet
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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, |
|
|
|
|