Fix tags-input:

* the code handling `separators` was buggy, so i simplified to use only
  one separator
* was not practical for bot quotes (can't edit), so replaced by a
  textarea
This commit is contained in:
John Livingston
2024-06-13 10:48:13 +02:00
parent 8cc9061092
commit 7cabf12864
3 changed files with 16 additions and 18 deletions

View File

@ -62,7 +62,7 @@ export function tplChannelConfiguration (el: ChannelConfigurationElement): Templ
entries: {
inputType: 'tags',
default: [],
separators: ['\n', '\t', ';']
separator: '\n'
},
regexp: {
inputType: 'checkbox',
@ -87,9 +87,9 @@ export function tplChannelConfiguration (el: ChannelConfigurationElement): Templ
},
quotes: {
messages: {
inputType: 'tags',
inputType: 'textarea',
default: [],
separators: ['\n', '\t', ';']
separator: '\n'
},
delay: {
inputType: 'number',