feat(trigger-words): increase maximum word limit from 30 to 100, fixes #660

This commit is contained in:
Will Miao
2025-11-15 08:19:53 +08:00
parent 7850131969
commit 906d00106d

View File

@@ -499,7 +499,7 @@ function addNewTriggerWord(word) {
}
// Validation: Check length
if (word.split(/\s+/).length > 30) {
if (word.split(/\s+/).length > 100) {
showToast('toast.triggerWords.tooLong', {}, 'error');
return;
}