diff --git a/accessible/workspace-tree.component.js b/accessible/workspace-tree.component.js
index 6c11b0c47..996117d36 100644
--- a/accessible/workspace-tree.component.js
+++ b/accessible/workspace-tree.component.js
@@ -63,17 +63,11 @@ blocklyApp.WorkspaceTreeComponent = ng.core
- -
-
-
- -
-
@@ -271,6 +265,27 @@ blocklyApp.WorkspaceTreeComponent = ng.core
}
}];
+ // Generate a list of action buttons.
+ this.fieldButtonsInfo = [{
+ baseIdKey: 'markSpot',
+ translationIdForText: 'MARK_THIS_SPOT',
+ action: function(connection) {
+ that.clipboardService.markConnection(connection);
+ },
+ isDisabled: function() {
+ return false;
+ }
+ }, {
+ baseIdKey: 'paste',
+ translationIdForText: 'PASTE',
+ action: function(connection) {
+ that.clipboardService.pasteFromClipboard(connection);
+ },
+ isDisabled: function(connection) {
+ return !that.isCompatibleWithClipboard(connection);
+ }
+ }];
+
// Make a list of all the id keys.
this.idKeys = ['blockRoot', 'blockSummary', 'listItem', 'label'];
this.actionButtonsInfo.forEach(function(buttonInfo) {