feat(text-base): Add Span vertical-align support (#8257)

This commit is contained in:
Bundyo (Kamen Bundev)
2020-06-07 00:03:05 +03:00
committed by GitHub
parent e2a9af2bc7
commit faa0181b9c
5 changed files with 165 additions and 89 deletions

View File

@ -65,7 +65,7 @@ export class Span extends ViewBase implements SpanDefinition {
}
set text(value: string) {
if (this._text !== value) {
this._text = value;
this._text = value && value.replace("\\n", "\n").replace("\\t", "\t");
this.notifyPropertyChange("text", value);
}
}