From c5532066f5ccec34af079d898d60d36d8a4597d0 Mon Sep 17 00:00:00 2001 From: Nirmal Kumar Date: Wed, 17 Jul 2024 01:39:49 +0530 Subject: [PATCH] feat: Add a blocklyTextBubble CSS class to the text bubble #8331 (#8333) --- core/bubbles/text_bubble.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/core/bubbles/text_bubble.ts b/core/bubbles/text_bubble.ts index 020ab4f2e..492bced13 100644 --- a/core/bubbles/text_bubble.ts +++ b/core/bubbles/text_bubble.ts @@ -27,6 +27,7 @@ export class TextBubble extends Bubble { super(workspace, anchor, ownerRect); this.paragraph = this.stringToSvg(text, this.contentContainer); this.updateBubbleSize(); + dom.addClass(this.svgRoot, 'blocklyTextBubble'); } /** @returns the current text of this text bubble. */