Skip to content

Commit

Permalink
feat: Add a blocklyFieldText CSS class to fields' text elements (#8291)…
Browse files Browse the repository at this point in the history
… (#8302)

* feat!: Add a blocklyFieldText CSS class to fields' text elements (#8291)

* add class instead of replace

Co-authored-by: Beka Westberg <bwestberg@google.com>

---------

Co-authored-by: Beka Westberg <bwestberg@google.com>
  • Loading branch information
ga-fleury and BeksOmega authored Jul 12, 2024
1 parent dd18edd commit 9684942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ export abstract class Field<T = any>
this.textElement_ = dom.createSvgElement(
Svg.TEXT,
{
'class': 'blocklyText',
'class': 'blocklyText blocklyFieldText',
},
this.fieldGroup_,
);
Expand Down

0 comments on commit 9684942

Please sign in to comment.