You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for similar issues before opening a new one.
Description
Several issues with copy/paste
Error when copying blocks from different workspaces
Error when copying blocks from mutator (if we consider first fixed)
Blocks from mutator get pasted onto main workspace, while Blockly's default behaviour is to paste them inside respected mutator workspace (if we consider first and second fixed)
Blocks from mutator workspace get saved in the storage. This allows to paste procedures_mutatorarg onto main workspace breaking project's import and code generation behaviour
Missing "paste into view" logic for paste by context menu compared to paste by hotkey
Reproduction steps
Videos show reproduction steps
Stack trace
issue 1
Cannot read properties of null (reading 'getParent')
TypeError: Cannot read properties of null (reading 'getParent')
at eval (webpack-internal:///./src/multiselect_shortcut.js:180:35)
at Array.forEach (<anonymous>)
at Object.callback (webpack-internal:///./src/multiselect_shortcut.js:178:17)
at ShortcutRegistry$$module$build$src$core$shortcut_registry.onKeyDown (webpack-internal:///./node_modules/blockly/blockly_compressed.js:1290:193)
at onKeyDown$$module$build$src$core$inject (webpack-internal:///./node_modules/blockly/blockly_compressed.js:424:269)
at HTMLDivElement.f (webpack-internal:///./node_modules/blockly/blockly_compressed.js:86:159)
issue 2
Cannot read properties of undefined (reading 'has')
TypeError: Cannot read properties of undefined (reading 'has')
at hasSelectedParent (webpack-internal:///./src/global.js:108:59)
at Object.check (webpack-internal:///./src/multiselect_shortcut.js:151:72)
at Object.preconditionFn (webpack-internal:///./src/multiselect_shortcut.js:138:29)
at ShortcutRegistry$$module$build$src$core$shortcut_registry.onKeyDown (webpack-internal:///./node_modules/blockly/blockly_compressed.js:1299:71)
at onKeyDown$$module$build$src$core$inject (webpack-internal:///./node_modules/blockly/blockly_compressed.js:432:269)
at HTMLDivElement.f (webpack-internal:///./node_modules/blockly/blockly_compressed.js:97:159)
Check for duplicates
Description
Several issues with copy/paste
procedures_mutatorargonto main workspace breaking project's import and code generation behaviourReproduction steps
Videos show reproduction steps
Stack trace
Screenshots
Issue 1
issue.1.mp4
issue 2
issue.2.mp4
issue 3 and 4
issue.3.and.4.mp4
issue 5
issue.5.mp4
Browsers
No response