{%selected_text%} can be now used in special prompts. fixes #213
This commit is contained in:
parent
66e6dbb109
commit
9abbcdc694
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
||||||
|
|
||||||
updateAdditionalPromptStatements();
|
updateAdditionalPromptStatements();
|
||||||
|
|
||||||
autocompleteSuggestions = (await getPlaceholders(true)).filter(p => !(p.id === 'selected_text' || p.id === 'additional_text')).map(p => ({command: '{%'+p.id+'%}', type: p.type}));
|
autocompleteSuggestions = (await getPlaceholders(true)).filter(p => !(p.id === 'additional_text')).map(p => ({command: '{%'+p.id+'%}', type: p.type}));
|
||||||
textareaAutocomplete(addtags_textarea, autocompleteSuggestions, 1); // type_value = 1, only when reading an email
|
textareaAutocomplete(addtags_textarea, autocompleteSuggestions, 1); // type_value = 1, only when reading an email
|
||||||
|
|
||||||
let excl_list_textarea = document.getElementById('addtags_excl_list');
|
let excl_list_textarea = document.getElementById('addtags_excl_list');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue