Browse Source

Change runCommand to reference the passed in ed

pull/2161/head
Marty Sweet 7 years ago
committed by GitHub
parent
commit
a7de0f07a5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/commands/index.js

2
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,

Loading…
Cancel
Save