clarify Regex editor "only" toggles.
| @@ -54,12 +54,7 @@ | ||
| 54 | 54 | <small data-i18n="Replace With">Replace With</small> |
| 55 | 55 | </label> |
| 56 | 56 | <div> |
| 57 | - <textarea | |
| 57 | + <textarea class="regex_replace_string text_pole wide100p textarea_compact" data-i18n="[placeholder]ext_regex_replace_string_placeholder" placeholder="Use {{match}} to include the matched text from the Find Regex or $1, $2, etc. for capture groups." rows="2"></textarea> | |
| 58 | - class="regex_replace_string text_pole wide100p textarea_compact" | |
| 59 | - data-i18n="[placeholder]ext_regex_replace_string_placeholder" | |
| 60 | - placeholder="Use {{match}} to include the matched text from the Find Regex or $1, $2, etc. for capture groups." | |
| 61 | - rows="2" | |
| 62 | - ></textarea> | |
| 63 | 58 | </div> |
| 64 | 59 | </div> |
| 65 | 60 | <div class="flex1"> |
| @@ -67,11 +62,7 @@ | ||
| 67 | 62 | <small data-i18n="Trim Out">Trim Out</small> |
| 68 | 63 | </label> |
| 69 | 64 | <div> |
| 70 | - <textarea | |
| 65 | + <textarea class="regex_trim_strings text_pole wide100p textarea_compact" data-i18n="[placeholder]ext_regex_trim_placeholder" placeholder="Globally trims any unwanted parts from a regex match before replacement. Separate each element by an enter." rows="3"></textarea> | |
| 71 | - class="regex_trim_strings text_pole wide100p textarea_compact" data-i18n="[placeholder]ext_regex_trim_placeholder" | |
| 72 | - placeholder="Globally trims any unwanted parts from a regex match before replacement. Separate each element by an enter." | |
| 73 | - rows="3" | |
| 74 | - ></textarea> | |
| 75 | 66 | </div> |
| 76 | 67 | </div> |
| 77 | 68 | </div> |
| @@ -126,17 +117,6 @@ | ||
| 126 | 117 | <input type="checkbox" name="disabled" /> |
| 127 | 118 | <span data-i18n="Disabled">Disabled</span> |
| 128 | 119 | </label> |
| 129 | - <label class="checkbox flex-container" title="Chat history won't change, only the message rendered in the UI."> | |
| 130 | - <input type="checkbox" name="only_format_display" /> | |
| 131 | - <span data-i18n="Only Format Display">Only Format Display</span> | |
| 132 | - </label> | |
| 133 | - <label class="checkbox flex-container" data-i18n="[title]ext_regex_only_format_prompt_desc" title="Chat history won't change, only the prompt as the request is sent (on generation)."> | |
| 134 | - <input type="checkbox" name="only_format_prompt"/> | |
| 135 | - <span> | |
| 136 | - <span data-i18n="Only Format Prompt (?)">Only Format Prompt</span> | |
| 137 | - <span class="fa-solid fa-circle-question note-link-span"></span> | |
| 138 | - </span> | |
| 139 | - </label> | |
| 140 | 120 | <label class="checkbox flex-container"> |
| 141 | 121 | <input type="checkbox" name="run_on_edit" /> |
| 142 | 122 | <span data-i18n="Run On Edit">Run On Edit</span> |
| @@ -148,6 +128,19 @@ | ||
| 148 | 128 | <span class="fa-solid fa-circle-question note-link-span"></span> |
| 149 | 129 | </span> |
| 150 | 130 | </label> |
| 131 | + <span> | |
| 132 | + <small data-i18n="ext_regex_other_options" data-i18n="Ephemerality">Ephemerality</small> | |
| 133 | + <span class="fa-solid fa-circle-question note-link-span" title="By default, regex scripts alter the chat file directly and irreversibly. Enabling either (or both) of the options below will prevent chat file alteration, while still altering the specified item(s)."></span> | |
| 134 | + </span> | |
| 135 | + <label class="checkbox flex-container" title="Chat history won't change, only the message rendered in the UI."> | |
| 136 | + <input type="checkbox" name="only_format_display" /> | |
| 137 | + <span data-i18n="Only Format Display">Alter Chat Display</span> | |
| 138 | + </label> | |
| 139 | + <label class="checkbox flex-container" data-i18n="[title]ext_regex_only_format_prompt_desc" title="Chat history won't change, only the prompt as the request is sent (on generation)."> | |
| 140 | + <input type="checkbox" name="only_format_prompt" /> | |
| 141 | + <span data-i18n="Only Format Prompt (?)">Alter Outgoing Prompt</span> | |
| 142 | + </label> | |
| 143 | + | |
| 151 | 144 | </div> |
| 152 | 145 | </div> |
| 153 | 146 | </div> |