diff --git a/src/scratch_comment_bubble.ts b/src/scratch_comment_bubble.ts index e3e185bde9..ec39234630 100644 --- a/src/scratch_comment_bubble.ts +++ b/src/scratch_comment_bubble.ts @@ -32,6 +32,7 @@ export class ScratchCommentBubble "style", `--colour-commentBorder: ${sourceBlock.getColourTertiary()};` ); + this.getSvgRoot().setAttribute("id", this.id); Blockly.browserEvents.conditionalBind( this.getSvgRoot(),