diff --git a/test/index.html b/test/index.html index 99705d65..f6e1edcd 100644 --- a/test/index.html +++ b/test/index.html @@ -99,6 +99,10 @@ box-sizing: border-box; } + .blocklyDeleteIcon { + display: block; + } + /* Blocks, connections and fields. */ .blocklyKeyboardNavigation .blocklyActiveFocus:is(.blocklyPath, .blocklyHighlightedConnectionPath), diff --git a/test/index.ts b/test/index.ts index 4560e471..4edf15cf 100644 --- a/test/index.ts +++ b/test/index.ts @@ -92,6 +92,7 @@ function createWorkspace(): Blockly.WorkspaceSvg { const workspace = Blockly.inject(blocklyDiv, injectOptions); new KeyboardNavigation(workspace); + Blockly.ContextMenuItems.registerCommentOptions(); registerRunCodeShortcut(); // Disable blocks that aren't inside the setup or draw loops.