From fea1796c3e274c4e905936d89cbc59b2eaf5b181 Mon Sep 17 00:00:00 2001 From: Andreas Monitzer Date: Wed, 5 May 2021 23:55:34 +0200 Subject: [PATCH] Made it possible for components with custom resizing functions to still call their parent functions, so the state machine doesn't break. --- src/commands/view/SelectComponent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/view/SelectComponent.js b/src/commands/view/SelectComponent.js index 1c50ac1be..f9499b8fb 100644 --- a/src/commands/view/SelectComponent.js +++ b/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 });