Browse Source

Made it possible for components with custom resizing functions to still call their parent functions, so the state machine doesn't break.

pull/3436/head
Andreas Monitzer 5 years ago
parent
commit
fea1796c3e
  1. 2
      src/commands/view/SelectComponent.js

2
src/commands/view/SelectComponent.js

@ -494,7 +494,7 @@ export default {
};
if (typeof resizable == 'object') {
options = { ...options, ...resizable };
options = { ...options, ...resizable, parent: options };
}
this.resizer = editor.runCommand('resize', { el, options, force: 1 });

Loading…
Cancel
Save