Browse Source

Change runCommand to reference the passed in ed

refactor-traits
Marty Sweet 7 years ago
committed by Artur Arseniev
parent
commit
88be94abf0
  1. 2
      src/commands/index.js

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

Loading…
Cancel
Save