count CW for character limit

This commit is contained in:
Hazel K 2024-10-07 19:25:03 -04:00
parent a90b4d487a
commit eb5a2b023e
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ const submitText = computed((): string => {
}); });
const textLength = computed((): number => { const textLength = computed((): number => {
return (text.value + imeText.value).trim().length; return (text.value + imeText.value).trim().length + (cw.value?.trim().length ?? 0);
}); });
const maxTextLength = computed((): number => { const maxTextLength = computed((): number => {