diff --git a/accessible/clipboard.service.js b/accessible/clipboard.service.js index 9a7e7451a..251feba45 100644 --- a/accessible/clipboard.service.js +++ b/accessible/clipboard.service.js @@ -61,6 +61,9 @@ blocklyApp.ClipboardService = ng.core return this.markedConnection_.getSourceBlock(); } }, + isAnyConnectionMarked: function() { + return Boolean(this.markedConnection_); + }, isMovableToMarkedConnection: function(block) { // It should not be possible to move any ancestor of the block containing // the marked spot to the marked spot. diff --git a/accessible/messages.js b/accessible/messages.js index 0aa6c93dd..967ddac72 100644 --- a/accessible/messages.js +++ b/accessible/messages.js @@ -32,7 +32,7 @@ Blockly.Msg.WORKSPACE_BLOCK = 'workspace block. Move right to view submenu.'; Blockly.Msg.CLEAR_WORKSPACE = 'Erase Workspace'; Blockly.Msg.COPY_TO_CLIPBOARD = 'Copy to clipboard.'; -Blockly.Msg.COPY_TO_MARKED_SPOT = 'Copy to link.'; +Blockly.Msg.COPY_TO_MARKED_SPOT = 'Attach to link.'; Blockly.Msg.COPY_TO_WORKSPACE = 'Add to workspace.'; Blockly.Msg.COPY_BLOCK = 'Copy block.'; diff --git a/accessible/toolbox-tree.component.js b/accessible/toolbox-tree.component.js index 5fcf6ba22..b3cbbb61d 100644 --- a/accessible/toolbox-tree.component.js +++ b/accessible/toolbox-tree.component.js @@ -42,7 +42,7 @@ blocklyApp.ToolboxTreeComponent = ng.core