From 76eebc2f24c0002a9ee1927249fae8c600244b8b Mon Sep 17 00:00:00 2001 From: Chaitanya Yeole <77329060+ChaitanyaYeole02@users.noreply.github.com> Date: Mon, 22 Jul 2024 19:05:19 -0400 Subject: [PATCH] feat: Add a blocklyBlock CSS class to the block's root SVG (#8397) --- core/renderers/common/path_object.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/renderers/common/path_object.ts b/core/renderers/common/path_object.ts index 8ca8cd193..c5ac5db20 100644 --- a/core/renderers/common/path_object.ts +++ b/core/renderers/common/path_object.ts @@ -66,6 +66,8 @@ export class PathObject implements IPathObject { {'class': 'blocklyPath'}, this.svgRoot, ); + + this.setClass_('blocklyBlock', true); } /**