Extract wildcard keep open as well

This commit is contained in:
Dominik Reh
2023-01-29 17:58:21 +01:00
parent b0347d1ca7
commit b22435dd32
4 changed files with 27 additions and 13 deletions

View File

@@ -183,7 +183,7 @@ class UmiParser extends BaseTagParser {
}
}
function updateUmiTags(tagType, newPrompt, textArea) {
function updateUmiTags( tagType, sanitizedText, newPrompt, textArea) {
// If it was a yaml wildcard, also update the umiPreviousTags
if (tagType === ResultType.yamlWildcard && originalTagword.length > 0) {
let umiSubPrompts = [...newPrompt.matchAll(UMI_PROMPT_REGEX)];
@@ -196,7 +196,10 @@ function updateUmiTags(tagType, newPrompt, textArea) {
umiPreviousTags = umiTags;
hideResults(textArea);
return true;
}
return false;
}
// Add UMI parser