mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 08:20:10 +00:00
count CW for character limit
This commit is contained in:
parent
a90b4d487a
commit
eb5a2b023e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue