add missing return to fix vertical text mode
This commit is contained in:
parent
16521fec93
commit
5b98f3ea6e
@ -233,7 +233,7 @@ class TextSourceRange {
|
||||
const style = window.getComputedStyle(element);
|
||||
const writingMode = style.writingMode;
|
||||
if (typeof writingMode === 'string') {
|
||||
TextSourceRange.normalizeWritingMode(writingMode);
|
||||
return TextSourceRange.normalizeWritingMode(writingMode);
|
||||
}
|
||||
}
|
||||
return 'horizontal-tb';
|
||||
|
Loading…
Reference in New Issue
Block a user