From c548298f3b9cf6baa0c27fdb54b5336538d4abf0 Mon Sep 17 00:00:00 2001 From: Aaron Dodson Date: Mon, 22 Apr 2024 15:01:18 -0700 Subject: [PATCH] fix: hide disable and inline inputs contextual menu items (#35) --- src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.js b/src/index.js index b51d0a97e2..62f8b7ab2e 100644 --- a/src/index.js +++ b/src/index.js @@ -42,3 +42,5 @@ export function inject(container, options) { } Blockly.Scrollbar.scrollbarThickness = Blockly.Touch.TOUCH_ENABLED ? 14 : 11; +Blockly.ContextMenuRegistry.registry.unregister('blockDisable'); +Blockly.ContextMenuRegistry.registry.unregister('blockInline');