mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +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…
	
	Add table
		
		Reference in a new issue