fix:optimize the input method for article practice

This commit is contained in:
zyronon
2025-08-31 01:24:47 +08:00
parent 411052b08d
commit 5bfabd24f7
9 changed files with 323 additions and 655 deletions

View File

@@ -26,6 +26,7 @@ export function getDefaultArticleWord(val: Partial<ArticleWord> = {}): ArticleWo
nextSpace: true,
isSymbol: false,
symbolPosition: '',
input: '',
...val
}) as ArticleWord
}

View File

@@ -55,6 +55,7 @@ export interface ArticleWord extends Word {
nextSpace: boolean,
isSymbol: boolean,
symbolPosition: 'start' | 'end' | '',
input:string
}
export interface Sentence {