Skip to content
Snippets Groups Projects
Commit 80c3acf7 authored by Marie's avatar Marie 🚅
Browse files

merge: Count CW text in the character limit (resolves #724) (!667)

View MR for information: TransFem-org/Sharkey!667



Closes #724

Approved-by: default avatardakkar <dakkar@thenautilus.net>
Approved-by: default avatarMarie <github@yuugi.dev>
parents a90b4d48 eb5a2b02
No related branches found
No related tags found
No related merge requests found
......@@ -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 => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment