feat: avoid punctuation at the beginning of a row

This commit is contained in:
Hufe921
2023-03-31 21:42:51 +08:00
committed by Hufe
parent 5c3ce57c24
commit 29a988a1d4
3 changed files with 12 additions and 2 deletions
+1
View File
@@ -4,6 +4,7 @@ export const ZERO = '\u200B'
export const WRAP = '\n'
export const HORIZON_TAB = '\t'
export const NBSP = '\u0020'
export const PUNCTUATION_LIST = ['·', '、', ':', ':', ',', ',', '.', '。', ';', ';', '?', '?', '!', '!']
export const maxHeightRadioMapping: Record<MaxHeightRatio, number> = {
[MaxHeightRatio.HALF]: 1 / 2,