mirror of
https://github.com/google/blockly.git
synced 2026-01-09 01:50:11 +01:00
* 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>
This commit is contained in:
@@ -376,7 +376,7 @@ export abstract class Field<T = any>
|
||||
this.textElement_ = dom.createSvgElement(
|
||||
Svg.TEXT,
|
||||
{
|
||||
'class': 'blocklyText',
|
||||
'class': 'blocklyText blocklyFieldText',
|
||||
},
|
||||
this.fieldGroup_,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user