Skip to content

Commit

Permalink
fix google#1169: avoid copy from inside context menus
Browse files Browse the repository at this point in the history
  • Loading branch information
debaraj-barua committed Sep 26, 2022
1 parent a4d6841 commit 5422052
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/cross-tab-copy-paste/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ export class CrossTabCopyPaste {
!Blockly.Gesture.inProgress() &&
Blockly.selected &&
Blockly.selected.isDeletable() &&
Blockly.selected.isMovable();
Blockly.selected.isMovable() &&
!Blockly.selected.isInMutator;
},
callback: function(workspace, e) {
// Prevent the default copy behavior,
Expand Down

0 comments on commit 5422052

Please sign in to comment.