mirror of
https://github.com/google/blockly.git
synced 2026-01-25 17:50:10 +01:00
feat: add blocklyLabelField CSS class to label fields (#8423)
This commit is contained in:
@@ -74,6 +74,9 @@ export class FieldLabel extends Field<string> {
|
||||
if (this.class) {
|
||||
dom.addClass(this.getTextElement(), this.class);
|
||||
}
|
||||
if (this.fieldGroup_) {
|
||||
dom.addClass(this.fieldGroup_, 'blocklyLabelField');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user