Skip to content

Commit 21b7dd0

Browse files
authored
Merge pull request #2519 from RoboErikG/multiline-text-color
fix: Fix multi-line text color by using the correct class
2 parents d5eb18f + 97965f3 commit 21b7dd0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

plugins/field-bitmap/src/field-bitmap.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ export class FieldBitmap extends Blockly.Field<number[][]> {
245245
// lines.
246246
const svgRoot = this.getSvgRoot();
247247
if (svgRoot) {
248-
Blockly.utils.dom.removeClass(svgRoot, 'blocklyNonEditableText');
249-
Blockly.utils.dom.removeClass(svgRoot, 'blocklyEditableText');
248+
Blockly.utils.dom.removeClass(svgRoot, 'blocklyNonEditableField');
249+
Blockly.utils.dom.removeClass(svgRoot, 'blocklyEditableField');
250250
}
251251
return editable;
252252
}

plugins/field-multilineinput/src/field_multilineinput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export class FieldMultilineInput extends Blockly.FieldTextInput {
141141
this.textGroup = Blockly.utils.dom.createSvgElement(
142142
Blockly.utils.Svg.G,
143143
{
144-
class: 'blocklyEditableText',
144+
class: 'blocklyEditableField',
145145
},
146146
this.fieldGroup_,
147147
);

0 commit comments

Comments
 (0)