count CW for character limit
This commit is contained in:
parent
a90b4d487a
commit
eb5a2b023e
@ -247,7 +247,7 @@ const submitText = computed((): string => {
|
||||
});
|
||||
|
||||
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 => {
|
||||
|
Loading…
Reference in New Issue
Block a user