add auto writing direction to textareas

This commit is contained in:
Chris Kruining 2025-01-03 04:56:42 +01:00
parent 4fba9cc23c
commit 7f436227d9
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -106,6 +106,7 @@ const TextArea: Component<{ row: number, key: string, lang: string, value: strin
lang={props.lang}
placeholder={`${props.key} in ${props.lang}`}
name={`${props.row}[${props.lang}]`}
dir="auto"
spellcheck={true}
wrap="soft"
onkeyup={onKeyUp}